Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
Greg Aker | 741de1c | 2010-11-10 14:52:57 -0600 | [diff] [blame] | 5 | * An open source application development framework for PHP 5.1.6 or newer |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 6 | * |
| 7 | * @package CodeIgniter |
| 8 | * @author ExpressionEngine Dev Team |
Greg Aker | 0711dc8 | 2011-01-05 10:49:40 -0600 | [diff] [blame] | 9 | * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 10 | * @license http://codeigniter.com/user_guide/license.html |
| 11 | * @link http://codeigniter.com |
| 12 | * @since Version 1.0 |
| 13 | * @filesource |
| 14 | */ |
| 15 | |
| 16 | // ------------------------------------------------------------------------ |
| 17 | |
| 18 | /** |
| 19 | * CodeIgniter Config Class |
| 20 | * |
| 21 | * This class contains functions that enable config files to be managed |
| 22 | * |
| 23 | * @package CodeIgniter |
| 24 | * @subpackage Libraries |
| 25 | * @category Libraries |
| 26 | * @author ExpressionEngine Dev Team |
| 27 | * @link http://codeigniter.com/user_guide/libraries/config.html |
| 28 | */ |
| 29 | class CI_Config { |
| 30 | |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 31 | /** |
| 32 | * List of all loaded config values |
| 33 | * |
| 34 | * @var array |
| 35 | */ |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 36 | var $config = array(); |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 37 | /** |
| 38 | * List of all loaded config files |
| 39 | * |
| 40 | * @var array |
| 41 | */ |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 42 | var $is_loaded = array(); |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 43 | /** |
| 44 | * List of paths to search when trying to load a config file |
| 45 | * |
| 46 | * @var array |
| 47 | */ |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 48 | var $_config_paths = array(APPPATH); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 49 | |
| 50 | /** |
| 51 | * Constructor |
| 52 | * |
| 53 | * Sets the $config data from the primary config.php file as a class variable |
| 54 | * |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 55 | * @access public |
| 56 | * @param string the config file name |
| 57 | * @param boolean if configuration values should be loaded into their own section |
| 58 | * @param boolean true if errors should just return false, false if an error message should be displayed |
| 59 | * @return boolean if the file was successfully loaded or not |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 60 | */ |
Greg Aker | a926328 | 2010-11-10 15:26:43 -0600 | [diff] [blame] | 61 | function __construct() |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 62 | { |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 63 | $this->config =& get_config(); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 64 | log_message('debug', "Config Class Initialized"); |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 65 | |
| 66 | // Set the base_url automatically if none was provided |
| 67 | if ($this->config['base_url'] == '') |
| 68 | { |
Pascal Kriete | 5d5895f | 2011-02-14 13:27:07 -0500 | [diff] [blame] | 69 | if (isset($_SERVER['HTTP_HOST'])) |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 70 | { |
Phil Sturgeon | fb55238 | 2010-12-15 14:29:21 +0000 | [diff] [blame] | 71 | $base_url = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ? 'https' : 'http'; |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 72 | $base_url .= '://'. $_SERVER['HTTP_HOST']; |
Eric Barnes | 32dbac2 | 2011-04-26 22:51:32 -0400 | [diff] [blame] | 73 | $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), '', $_SERVER['SCRIPT_NAME']); |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 74 | } |
| 75 | |
| 76 | else |
| 77 | { |
| 78 | $base_url = 'http://localhost/'; |
| 79 | } |
| 80 | |
| 81 | $this->set_item('base_url', $base_url); |
| 82 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 83 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 84 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 85 | // -------------------------------------------------------------------- |
| 86 | |
| 87 | /** |
| 88 | * Load Config File |
| 89 | * |
| 90 | * @access public |
| 91 | * @param string the config file name |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 92 | * @param boolean if configuration values should be loaded into their own section |
| 93 | * @param boolean true if errors should just return false, false if an error message should be displayed |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 94 | * @return boolean if the file was loaded correctly |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 95 | */ |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 96 | function load($file = '', $use_sections = FALSE, $fail_gracefully = FALSE) |
| 97 | { |
Greg Aker | 3a74665 | 2011-04-19 10:59:47 -0500 | [diff] [blame] | 98 | $file = ($file == '') ? 'config' : str_replace('.php', '', $file); |
Phil Sturgeon | 05fa611 | 2011-04-06 22:57:43 +0100 | [diff] [blame] | 99 | $found = FALSE; |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 100 | $loaded = FALSE; |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 101 | |
Pascal Kriete | 5d5895f | 2011-02-14 13:27:07 -0500 | [diff] [blame] | 102 | foreach ($this->_config_paths as $path) |
Phil Sturgeon | 05fa611 | 2011-04-06 22:57:43 +0100 | [diff] [blame] | 103 | { |
| 104 | $check_locations = defined('ENVIRONMENT') |
| 105 | ? array(ENVIRONMENT.'/'.$file, $file) |
| 106 | : array($file); |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 107 | |
Phil Sturgeon | 05fa611 | 2011-04-06 22:57:43 +0100 | [diff] [blame] | 108 | foreach ($check_locations as $location) |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 109 | { |
Greg Aker | 3a74665 | 2011-04-19 10:59:47 -0500 | [diff] [blame] | 110 | $file_path = $path.'config/'.$location.'.php'; |
Phil Sturgeon | 05fa611 | 2011-04-06 22:57:43 +0100 | [diff] [blame] | 111 | |
| 112 | if (in_array($file_path, $this->is_loaded, TRUE)) |
| 113 | { |
| 114 | $loaded = TRUE; |
| 115 | continue 2; |
| 116 | } |
| 117 | |
| 118 | if (file_exists($file_path)) |
| 119 | { |
| 120 | $found = TRUE; |
| 121 | break; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | if ($found === FALSE) |
| 126 | { |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 127 | continue; |
| 128 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 129 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 130 | include($file_path); |
| 131 | |
| 132 | if ( ! isset($config) OR ! is_array($config)) |
| 133 | { |
| 134 | if ($fail_gracefully === TRUE) |
| 135 | { |
| 136 | return FALSE; |
| 137 | } |
| 138 | show_error('Your '.$file_path.' file does not appear to contain a valid configuration array.'); |
| 139 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 140 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 141 | if ($use_sections === TRUE) |
| 142 | { |
| 143 | if (isset($this->config[$file])) |
| 144 | { |
| 145 | $this->config[$file] = array_merge($this->config[$file], $config); |
| 146 | } |
| 147 | else |
| 148 | { |
| 149 | $this->config[$file] = $config; |
| 150 | } |
| 151 | } |
| 152 | else |
| 153 | { |
| 154 | $this->config = array_merge($this->config, $config); |
| 155 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 156 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 157 | $this->is_loaded[] = $file_path; |
| 158 | unset($config); |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 159 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 160 | $loaded = TRUE; |
| 161 | log_message('debug', 'Config file loaded: '.$file_path); |
katzgrau | d127e61 | 2011-04-22 10:59:25 -0400 | [diff] [blame] | 162 | break; |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 163 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 164 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 165 | if ($loaded === FALSE) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 166 | { |
| 167 | if ($fail_gracefully === TRUE) |
| 168 | { |
| 169 | return FALSE; |
| 170 | } |
Greg Aker | 3a74665 | 2011-04-19 10:59:47 -0500 | [diff] [blame] | 171 | show_error('The configuration file '.$file.'.php'.' does not exist.'); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 172 | } |
Phil Sturgeon | 05fa611 | 2011-04-06 22:57:43 +0100 | [diff] [blame] | 173 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 174 | return TRUE; |
| 175 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 176 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 177 | // -------------------------------------------------------------------- |
| 178 | |
| 179 | /** |
| 180 | * Fetch a config file item |
| 181 | * |
| 182 | * |
| 183 | * @access public |
| 184 | * @param string the config item name |
| 185 | * @param string the index name |
| 186 | * @param bool |
| 187 | * @return string |
| 188 | */ |
| 189 | function item($item, $index = '') |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 190 | { |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 191 | if ($index == '') |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 192 | { |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 193 | if ( ! isset($this->config[$item])) |
| 194 | { |
| 195 | return FALSE; |
| 196 | } |
| 197 | |
| 198 | $pref = $this->config[$item]; |
| 199 | } |
| 200 | else |
| 201 | { |
| 202 | if ( ! isset($this->config[$index])) |
| 203 | { |
| 204 | return FALSE; |
| 205 | } |
| 206 | |
| 207 | if ( ! isset($this->config[$index][$item])) |
| 208 | { |
| 209 | return FALSE; |
| 210 | } |
| 211 | |
| 212 | $pref = $this->config[$index][$item]; |
| 213 | } |
| 214 | |
| 215 | return $pref; |
| 216 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 217 | |
| 218 | // -------------------------------------------------------------------- |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 219 | |
| 220 | /** |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 221 | * Fetch a config file item - adds slash after item (if item is not empty) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 222 | * |
| 223 | * @access public |
| 224 | * @param string the config item name |
| 225 | * @param bool |
| 226 | * @return string |
| 227 | */ |
| 228 | function slash_item($item) |
| 229 | { |
| 230 | if ( ! isset($this->config[$item])) |
| 231 | { |
| 232 | return FALSE; |
| 233 | } |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 234 | if( trim($this->config[$item]) == '') |
| 235 | { |
| 236 | return ''; |
| 237 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 238 | |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 239 | return rtrim($this->config[$item], '/').'/'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 240 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 241 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 242 | // -------------------------------------------------------------------- |
| 243 | |
| 244 | /** |
| 245 | * Site URL |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 246 | * Returns base_url . index_page [. uri_string] |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 247 | * |
| 248 | * @access public |
| 249 | * @param string the URI string |
| 250 | * @return string |
| 251 | */ |
| 252 | function site_url($uri = '') |
| 253 | { |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 254 | if ($uri == '') |
| 255 | { |
Phil Sturgeon | 4df8b22 | 2010-12-15 14:23:14 +0000 | [diff] [blame] | 256 | return $this->slash_item('base_url').$this->item('index_page'); |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 257 | } |
| 258 | |
| 259 | if ($this->item('enable_query_strings') == FALSE) |
| 260 | { |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 261 | $suffix = ($this->item('url_suffix') == FALSE) ? '' : $this->item('url_suffix'); |
| 262 | return $this->slash_item('base_url').$this->slash_item('index_page').$this->_uri_string($uri).$suffix; |
| 263 | } |
| 264 | else |
| 265 | { |
| 266 | return $this->slash_item('base_url').$this->item('index_page').'?'.$this->_uri_string($uri); |
| 267 | } |
| 268 | } |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 269 | |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 270 | // ------------------------------------------------------------- |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 271 | |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 272 | /** |
| 273 | * Base URL |
| 274 | * Returns base_url [. uri_string] |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 275 | * |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 276 | * @access public |
| 277 | * @param string $uri |
| 278 | * @return string |
| 279 | */ |
| 280 | function base_url($uri = '') |
| 281 | { |
| 282 | return $this->slash_item('base_url').ltrim($this->_uri_string($uri),'/'); |
| 283 | } |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 284 | |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 285 | // ------------------------------------------------------------- |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 286 | |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 287 | /** |
| 288 | * Build URI string for use in Config::site_url() and Config::base_url() |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 289 | * |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 290 | * @access protected |
| 291 | * @param $uri |
| 292 | * @return string |
| 293 | */ |
| 294 | protected function _uri_string($uri) |
| 295 | { |
| 296 | if ($this->item('enable_query_strings') == FALSE) |
| 297 | { |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 298 | if (is_array($uri)) |
| 299 | { |
| 300 | $uri = implode('/', $uri); |
| 301 | } |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 302 | $uri = trim($uri, '/'); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 303 | } |
| 304 | else |
| 305 | { |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 306 | if (is_array($uri)) |
| 307 | { |
| 308 | $i = 0; |
| 309 | $str = ''; |
| 310 | foreach ($uri as $key => $val) |
| 311 | { |
| 312 | $prefix = ($i == 0) ? '' : '&'; |
| 313 | $str .= $prefix.$key.'='.$val; |
| 314 | $i++; |
| 315 | } |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 316 | $uri = $str; |
| 317 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 318 | } |
anaxamaxan@blackdog.local | d09c51a | 2011-02-02 23:00:16 -0800 | [diff] [blame] | 319 | return $uri; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 320 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 321 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 322 | // -------------------------------------------------------------------- |
David Behler | 2d2c9c6 | 2011-08-14 20:03:08 +0200 | [diff] [blame] | 323 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 324 | /** |
| 325 | * System URL |
| 326 | * |
| 327 | * @access public |
| 328 | * @return string |
| 329 | */ |
| 330 | function system_url() |
| 331 | { |
| 332 | $x = explode("/", preg_replace("|/*(.+?)/*$|", "\\1", BASEPATH)); |
| 333 | return $this->slash_item('base_url').end($x).'/'; |
| 334 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 335 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 336 | // -------------------------------------------------------------------- |
| 337 | |
| 338 | /** |
| 339 | * Set a config file item |
| 340 | * |
| 341 | * @access public |
| 342 | * @param string the config item key |
| 343 | * @param string the config item value |
| 344 | * @return void |
| 345 | */ |
| 346 | function set_item($item, $value) |
| 347 | { |
| 348 | $this->config[$item] = $value; |
| 349 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 350 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 351 | // -------------------------------------------------------------------- |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 352 | |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 353 | /** |
| 354 | * Assign to Config |
| 355 | * |
| 356 | * This function is called by the front controller (CodeIgniter.php) |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 357 | * after the Config class is instantiated. It permits config items |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 358 | * to be assigned or overriden by variables contained in the index.php file |
| 359 | * |
| 360 | * @access private |
| 361 | * @param array |
| 362 | * @return void |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 363 | */ |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 364 | function _assign_to_config($items = array()) |
| 365 | { |
| 366 | if (is_array($items)) |
| 367 | { |
| 368 | foreach ($items as $key => $val) |
| 369 | { |
| 370 | $this->set_item($key, $val); |
| 371 | } |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 372 | } |
Derek Jones | 6d743e2 | 2010-03-02 13:22:03 -0600 | [diff] [blame] | 373 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 374 | } |
| 375 | |
| 376 | // END CI_Config class |
| 377 | |
| 378 | /* End of file Config.php */ |
katzgrau | d127e61 | 2011-04-22 10:59:25 -0400 | [diff] [blame] | 379 | /* Location: ./system/core/Config.php */ |