diff options
author | Root <development@fractureme.com> | 2012-05-28 02:07:10 +0200 |
---|---|---|
committer | Root <development@fractureme.com> | 2012-05-28 02:07:10 +0200 |
commit | e526c5a3c0c03088d9fb445d932973735d992ba3 (patch) | |
tree | fa041774010a82c3389949ec4677253df62ec23c /tests/Bootstrap.php | |
parent | 3cc8502b48946f7298797393cea0a7183c325244 (diff) | |
parent | 11fd4b8759438f216318e3e1e004f918b88a56ad (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r-- | tests/Bootstrap.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 38615dd89..5216038c6 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -7,10 +7,10 @@ error_reporting(E_ALL | E_STRICT); $dir = realpath(dirname(__FILE__)); // Path constants -define('PROJECT_BASE', realpath($dir.'/../').'/'); -define('BASEPATH', PROJECT_BASE.'system/'); -define('APPPATH', PROJECT_BASE.'application/'); -define('VIEWPATH', PROJECT_BASE.''); +defined('PROJECT_BASE') OR define('PROJECT_BASE', realpath($dir.'/../').'/'); +defined('BASEPATH') OR define('BASEPATH', PROJECT_BASE.'system/'); +defined('APPPATH') OR define('APPPATH', PROJECT_BASE.'application/'); +defined('VIEWPATH') OR define('VIEWPATH', PROJECT_BASE.''); // Get vfsStream either via PEAR or composer foreach (explode(PATH_SEPARATOR, get_include_path()) as $path) |