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

class CI_TestConfig {

	public $config = array();
	public $_config_paths = array(APPPATH);
	public $loaded = array();

	public function item($key)
	{
		return isset($this->config[$key]) ? $this->config[$key] : FALSE;
	}

	public function load($file, $arg2 = FALSE, $arg3 = FALSE)
	{
		$this->loaded[] = $file;
		return TRUE;
	}

}