summaryrefslogtreecommitdiffstats
path: root/tests/Bootstrap.php
blob: ca63ff788f3548b327435d8e11b2130d6209b295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

ini_set('display_errors', 1);
error_reporting(E_ALL | E_STRICT);

if ( ! defined('PROJECT_BASE'))
{
	define('PROJECT_BASE',	realpath(dirname(__FILE__).'/../').'/');

	define('BASEPATH',		PROJECT_BASE.'system/');
	define('APPPATH',		PROJECT_BASE.'application/');
}
// define('EXT', '.php');

// @todo provide a way to set various config options



// set up a highly controlled CI environment
require_once './lib/common.php';
require_once './lib/ci_testcase.php';