return; } // if the function had a "@" before it, then ignore it totally if ($core && $core->debugmode) { $core->errorControl->raise(602, $exception->getMessage()); } else { die($exception->getMessage()); } } $crap = set_exception_handler('PresciaExceptionHandler'); unset($crap); $crap = set_error_handler('PresciaErrorHandler'); unset($crap); } # ab -n50 total mean: 19ms 16ms $core->domainLoad(); // locks domain, load config and start i18n define("CONS_FMANAGER", CONS_PATH_PAGES . $_SESSION['CODE'] . "/files/"); if (CONS_CACHE) { $core->cacheControl->startCaches(); } // detects which cache to use from auto-throttle system # -- database and metadata load if (!$core->dbconnect()) { $core->offlineMode = true; } if (!$core->loadMetadata()) { $core->errorControl->raise(1, "metamodel fault"); } // loadMetadata loads dimconfig if ($core->debugmode) {