Index: trunk/core/kernel/startup.php
===================================================================
diff -u -N -r4771 -r4880
--- trunk/core/kernel/startup.php (.../startup.php) (revision 4771)
+++ trunk/core/kernel/startup.php (.../startup.php) (revision 4880)
@@ -24,8 +24,7 @@
$vars = parse_portal_ini(FULL_PATH.'/config.php');
- if($vars === false)
- {
+ if ($vars === false) {
global $rootURL;
echo 'In-Portal is probably not installed, or configuration file is missing.
';
echo 'Please use the installation script to fix the problem.
';
@@ -68,7 +67,7 @@
$debugger_start = getmicrotime();
include_once(KERNEL_PATH.'/utility/debugger.php');
$debugger_end = getmicrotime();
- if (isset($debugger) && dbg_ConstOn('DBG_PROFILE_INCLUDES')) {
+ if (isset($debugger) && constOn('DBG_PROFILE_INCLUDES')) {
$debugger->profileStart('inc_globals', KERNEL_PATH.'/globals.php', $globals_start);
$debugger->profileFinish('inc_globals', KERNEL_PATH.'/globals.php', $globals_end);
$debugger->profilerAddTotal('includes', 'inc_globals');