the first part of reimplementing has been done

now we have app object and singletons are only: log logn plugin and app



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@628 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-08-10 16:12:50 +00:00
parent 6897192364
commit 217cf1420b
191 changed files with 9529 additions and 7250 deletions

View File

@@ -11,7 +11,7 @@
#include <sys/stat.h>
#include "misc.h"
#include "log.h"
#include "data.h"
@@ -100,17 +100,18 @@ void CorrectUrlOnlyAllowedChar(std::string & url)
if( url.empty() || url == "." )
{
if( data.item_url_empty.empty() )
// !! brakuje config->
//if( config->item_url_empty.empty() )
url = "unnamed";
else
{
url = data.item_url_empty;
//else
//{
// url = config->item_url_empty;
CorrectUrlDots(url);
CorrectUrlChars(url);
ToSmall(url);
// CorrectUrlDots(url);
// CorrectUrlChars(url);
// ToSmall(url);
// we don't trim here and the string will not be empty
}
//}
}
if( url[0] >= '0' && url[0] <= '9' )