| variable so that it is blank.
|
*/
-$config['index_page'] = 'index.php';
+$config['index_page'] = '';
/*
|--------------------------------------------------------------------------
| your log files will fill up very fast.
|
*/
-$config['log_threshold'] = 0;
+$config['log_threshold'] = 4;
/*
|--------------------------------------------------------------------------
$config['proxy_ips'] = '';
-/* End of file config.php */
-/* Location: ./application/config/config.php */
+/*
+| -------------------------------------------------------------------
+| Native Autoload - by Phil Sturgeon.
+| -------------------------------------------------------------------
+|
+| Nothing to do with config/autoload.php, this allows PHP autoload to work
+| for base controllers and some third-party libraries.
+|
+| If using HMVC you do not need this! HMVC will autoload.
+|
+| Place this code at the bottom of your application/config/config.php file.
+*/
+function __autoload($class)
+{
+ if (strpos($class, 'CI_') !== 0)
+ {
+ if (file_exists($file = APPPATH . 'core/' . $class . EXT))
+ {
+ include $file;
+ }
+ elseif (file_exists($file = APPPATH . 'libraries/' . $class . EXT))
+ {
+ include $file;
+ }
+ }
+}
+