Pascal Kriete | 69c97a7 | 2011-04-20 21:44:54 -0400 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | ini_set('display_errors', 1); |
| 4 | error_reporting(E_ALL | E_STRICT); |
| 5 | |
| 6 | if ( ! defined('PROJECT_BASE')) |
| 7 | { |
| 8 | define('PROJECT_BASE', realpath(dirname(__FILE__).'/../').'/'); |
| 9 | |
| 10 | define('BASEPATH', PROJECT_BASE.'system/'); |
| 11 | define('APPPATH', PROJECT_BASE.'application/'); |
| 12 | } |
| 13 | // define('EXT', '.php'); |
| 14 | |
| 15 | // @todo provide a way to set various config options |
| 16 | |
| 17 | |
| 18 | |
| 19 | // set up a highly controlled CI environment |
| 20 | require_once './lib/common.php'; |
| 21 | require_once './lib/ci_testcase.php'; |