We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16bb9bd + 4912f8b commit ae3d10cCopy full SHA for ae3d10c
tests/Bootstrap.php
@@ -7,10 +7,10 @@
7
$dir = realpath(dirname(__FILE__));
8
9
// Path constants
10
-define('PROJECT_BASE', realpath($dir.'/../').'/');
11
-define('BASEPATH', PROJECT_BASE.'system/');
12
-define('APPPATH', PROJECT_BASE.'application/');
13
-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.'');
14
15
// Get vfsStream either via PEAR or composer
16
foreach (explode(PATH_SEPARATOR, get_include_path()) as $path)
0 commit comments