* send inquiries from other hosts. */ define('ADM_REFER_PROTECTED', 0); /** * whether the system is installed */ function isInstall() { return !file_exists(ROOT . '/install'); } /** * Include some core part (Application) */ include_once ROOT . '/sys/settings/config.php'; /** * Autoload */ include_once ROOT . '/sys/inc/autoload.class.php'; Autoload::loadFuncs(); spl_autoload_register(array('Autoload', 'load')); /** * Registry */ $Register = Register::getInstance(); $Register['Config'] = new Config(ROOT . '/sys/settings/config.php'); include_once ROOT . '/sys/inc/helpers.lib.php'; /** * */ new Bootstrap(); include_once ROOT . '/sys/fnc/geshi/geshi.php';