* * This file contains application-wide configuration settings. The settings * here will be the same regardless of the machine on which the app is running. * * This configuration should be added to version control. * * No settings should be added to this file that would need to be changed * on a per-machine basic (ie local, staging or production). Any * machine-specific settings should be added to _machine_config.php */ /** * APPLICATION ROOT DIRECTORY * If the application doesn't detect this correctly then it can be set explicitly */ if (!GlobalConfig::$APP_ROOT) { GlobalConfig::$APP_ROOT = realpath("./"); } /** * INCLUDE PATH * Adjust the include path as necessary so PHP can locate required libraries */ set_include_path(GlobalConfig::$APP_ROOT . '/libs/' . PATH_SEPARATOR . GlobalConfig::$APP_ROOT . '/../libs/' . PATH_SEPARATOR . get_include_path()); /** * RENDER ENGINE */ require_once 'verysimple/Phreeze/SavantRenderEngine.php'; GlobalConfig::$TEMPLATE_ENGINE = 'SavantRenderEngine'; GlobalConfig::$TEMPLATE_PATH = GlobalConfig::$APP_ROOT . '/templates/'; GlobalConfig::$TEMPLATE_CACHE_PATH = ''; /** * ROUTE MAP