Skip to content

Commit ffea677

Browse files
committed
Adding ROOTPATH to test suite
1 parent 9ae0b13 commit ffea677

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/_support/_bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
// Path to the front controller (this file)
6363
define('FCPATH', __DIR__.DIRECTORY_SEPARATOR);
6464

65+
// Path to code root folder (just up from public)
66+
define('ROOTPATH', str_replace('public'.DIRECTORY_SEPARATOR, '', FCPATH));
67+
6568
// Path to the writable directory.
6669
define('WRITEPATH', realpath($writable_directory).DIRECTORY_SEPARATOR);
6770

0 commit comments

Comments
 (0)