diff --git a/www/configs/config.inc b/www/configs/config.inc index 44c2b67d..90ffcf5a 100644 --- a/www/configs/config.inc +++ b/www/configs/config.inc @@ -1,25 +1,12 @@ -'); -// frontend -DEFINE('SESSION_NAME', ''); -// set the session name -define('SET_SESSION_NAME', EDIT_SESSION_NAME); - -/************* LANGUAGE / ENCODING *******/ -DEFINE('DEFAULT_LANG', 'en_utf8'); -// default web page encoding setting -DEFINE('DEFAULT_ENCODING', 'UTF-8'); - /************* PATHS *********************/ // directory seperator DEFINE('DS', DIRECTORY_SEPARATOR); @@ -27,7 +14,7 @@ DEFINE('DS', DIRECTORY_SEPARATOR); // path to original file (if symlink) DEFINE('DIR', __DIR__.DS); // base dir root folder level -DEFINE('BASE', str_replace('configs', '', __DIR__)); +DEFINE('BASE', str_replace('/configs', '', __DIR__).DS); // ** OLD DIR DECLARATIONS ** // path to document root of file called @@ -35,6 +22,8 @@ DEFINE('ROOT', getcwd().DS); // libs path DEFINE('LIB', 'lib'.DS); DEFINE('LIBS', 'lib'.DS); +// configs folder +DEFINE('CONFIGS', 'configs'.DS); // includes (strings, arrays for static, etc) DEFINE('INCLUDES', 'includes'.DS); // layout base path @@ -83,6 +72,14 @@ DEFINE('TEMPLATES_C', 'templates_c'.DS); DEFINE('TEMPLATES', 'templates'.DS); // frontend template dir', only for admin DEFINE('TEMPLATES_FRONTEND', 'templates_frontend'.DS); + +// if below is turned to true then the old folder format is ued +// www/layout//