blob: f80adc5d4ebc98029c5e22b55306bb988a26e1e9 [file] [log] [blame]
dchill427ecc5cd2012-10-12 16:25:51 -04001<?php
2
3class CI_TestConfig {
4
5 public $config = array();
6 public $_config_paths = array(APPPATH);
dchill424f42be52012-10-21 21:31:19 -04007 public $loaded = array();
dchill427ecc5cd2012-10-12 16:25:51 -04008
9 public function item($key)
10 {
11 return isset($this->config[$key]) ? $this->config[$key] : FALSE;
12 }
13
dchill424f42be52012-10-21 21:31:19 -040014 public function load($file, $arg2 = FALSE, $arg3 = FALSE)
dchill427ecc5cd2012-10-12 16:25:51 -040015 {
dchill424f42be52012-10-21 21:31:19 -040016 $this->loaded[] = $file;
dchill427ecc5cd2012-10-12 16:25:51 -040017 return TRUE;
18 }
19
Andrey Andreev838a9d62012-12-03 14:37:47 +020020}