Index: branches/unlabeled/unlabeled-1.37.2/kernel/startup.php =================================================================== diff -u -r4079 -r4178 --- branches/unlabeled/unlabeled-1.37.2/kernel/startup.php (.../startup.php) (revision 4079) +++ branches/unlabeled/unlabeled-1.37.2/kernel/startup.php (.../startup.php) (revision 4178) @@ -11,7 +11,9 @@ if( defined('REL_PATH') ) { $ps = preg_replace("/".preg_quote(rtrim(REL_PATH, '/'), '/')."$/", '', str_replace('\\', '/', dirname($_SERVER['PHP_SELF']))); - safeDefine('BASE_PATH', $ps); // in case in-portal has defined it before + if (!defined('BASE_PATH')) { + define('BASE_PATH', $ps); // in case in-portal has defined it before + } # New path detection method: end // KENEL4 INIT: BEGIN @@ -31,7 +33,8 @@ $application =& kApplication::Instance(); $application->Init(); - + $application->ProcessRequest(); + // compatibility constants $g_TablePrefix = TABLE_PREFIX; $pathtoroot = FULL_PATH.'/';