dchill42 | 7ecc5cd | 2012-10-12 16:25:51 -0400 | [diff] [blame] | 1 | <?php |
2 | |||||
3 | class CI_TestConfig { | ||||
4 | |||||
5 | public $config = array(); | ||||
6 | public $_config_paths = array(APPPATH); | ||||
dchill42 | 4f42be5 | 2012-10-21 21:31:19 -0400 | [diff] [blame] | 7 | public $loaded = array(); |
dchill42 | 7ecc5cd | 2012-10-12 16:25:51 -0400 | [diff] [blame] | 8 | |
9 | public function item($key) | ||||
10 | { | ||||
11 | return isset($this->config[$key]) ? $this->config[$key] : FALSE; | ||||
12 | } | ||||
13 | |||||
dchill42 | 4f42be5 | 2012-10-21 21:31:19 -0400 | [diff] [blame] | 14 | public function load($file, $arg2 = FALSE, $arg3 = FALSE) |
dchill42 | 7ecc5cd | 2012-10-12 16:25:51 -0400 | [diff] [blame] | 15 | { |
dchill42 | 4f42be5 | 2012-10-21 21:31:19 -0400 | [diff] [blame] | 16 | $this->loaded[] = $file; |
dchill42 | 7ecc5cd | 2012-10-12 16:25:51 -0400 | [diff] [blame] | 17 | return TRUE; |
18 | } | ||||
19 | |||||
Andrey Andreev | 838a9d6 | 2012-12-03 14:37:47 +0200 | [diff] [blame^] | 20 | } |