* * @category Fox * @package Fox * @author Unicode Systems Zendfox Core Team <*****@*****.**> */ /** * Error reporting */ ini_set('display_errors', 0); error_reporting(E_ALL & ~E_STRICT & ~E_WARNING); /** * Define path to application directory */ defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application')); /** * Define application environment */ defined('APPLICATION_ENV') || define('APPLICATION_ENV', getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development'); /** * Ensure library is on include_path */ set_include_path(implode(PATH_SEPARATOR, array(realpath(APPLICATION_PATH . '/../library'), get_include_path()))); /** * @see Uni_Fox */ require_once 'Uni/Fox.php'; /** * Run Fox Framework */ Uni_Fox::runApp();