summaryrefslogtreecommitdiffstats
path: root/tests/Bootstrap.php
blob: 5a5eb645888ce7a2a742cac5b8ee276dfa77a3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

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

define('PROJECT_BASE',	realpath(dirname(__FILE__).'/../').'/');

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

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