diff --git a/index.php b/index.php index 8e64bd60..6bbf992e 100644 --- a/index.php +++ b/index.php @@ -3,6 +3,11 @@ * Here begins everything! */ +/** + * Well, whose list is it? + */ +define('WHOSE', "Tim's"); + /** * Joins paths together. Variadic to take an * arbitrary number of arguments @@ -11,17 +16,11 @@ */ function _dir() { return implode(DIRECTORY_SEPARATOR, func_get_args()); } - define('ROOT_DIR', __DIR__); define('APP_DIR', _dir(ROOT_DIR, 'app')); define('CONF_DIR', _dir(APP_DIR, 'config')); define('BASE_DIR', _dir(APP_DIR, 'base')); -/** - * Well, whose list is it? - */ -define('WHOSE', "Tim's"); - // Load config and global functions $config = require _dir(APP_DIR, '/config/config.php'); require _dir(BASE_DIR, '/functions.php');