Index: trunk/core/kernel/application.php =================================================================== diff -u -N -r1662 -r1674 --- trunk/core/kernel/application.php (.../application.php) (revision 1662) +++ trunk/core/kernel/application.php (.../application.php) (revision 1674) @@ -171,10 +171,6 @@ { $this->StoreVar('UserGroups', $this->ConfigValue('User_GuestGroup')); } - - if (!defined('ADMIN') && !$this->GetVar('admin')) { -// define('MOD_REWRITE', 1); - } if( !$this->RecallVar('curr_iso') ) $this->StoreVar('curr_iso', $this->GetPrimaryCurrency() ); Index: trunk/index.php =================================================================== diff -u -N -r1652 -r1674 --- trunk/index.php (.../index.php) (revision 1652) +++ trunk/index.php (.../index.php) (revision 1674) @@ -1,34 +1,32 @@ -Init(); -$application->Run(); -$application->Done(); - -$end = getmicrotime(); - -if (defined('DEBUG_MODE')) { - echo '

Memory used: '.round(memory_get_usage()/1024/1024, 1).' Mb
'; - echo 'Time used: '.round(($end - $start), 5).' Sec
'; -} - -//print_pre(get_included_files()); - -function getmicrotime() -{ - list($usec, $sec) = explode(" ", microtime()); - return ((float)$usec + (float)$sec); -} - - +Init(); +$application->Run(); +$application->Done(); + +$end = getmicrotime(); + +if (defined('DEBUG_MODE')) { + echo '

Memory used: '.round(memory_get_usage()/1024/1024, 1).' Mb
'; + echo 'Time used: '.round(($end - $start), 5).' Sec
'; +} + +//print_pre(get_included_files()); + +function getmicrotime() +{ + list($usec, $sec) = explode(" ", microtime()); + return ((float)$usec + (float)$sec); +} ?> \ No newline at end of file