diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/application/config/autoload.php | 186 | ||||
-rw-r--r-- | system/application/config/config.php | 3 | ||||
-rw-r--r-- | system/application/config/routes.php | 4 |
3 files changed, 94 insertions, 99 deletions
diff --git a/system/application/config/autoload.php b/system/application/config/autoload.php index 06d8780c4..26e71f74c 100644 --- a/system/application/config/autoload.php +++ b/system/application/config/autoload.php @@ -1,94 +1,94 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); -/* -| ------------------------------------------------------------------- -| AUTO-LOADER -| ------------------------------------------------------------------- -| This file specifies which systems should be loaded by default. -| -| In order to keep the framework as light-weight as possible only the -| absolute minimal resources are loaded by default. For example, -| the database is not connected to automatically since no assumption -| is made regarding whether you intend to use it. This file lets -| you globally define which systems you would like loaded with every -| request. -| -| ------------------------------------------------------------------- -| Instructions -| ------------------------------------------------------------------- -| -| These are the things you can load automatically: -| -| 1. Libraries -| 2. Helper files -| 3. Plugins -| 5. Custom config files -| -*/ - -/* -| ------------------------------------------------------------------- -| Auto-load Libraries -| ------------------------------------------------------------------- -| These are the classes located in the system/libraries folder -| or in your system/application/libraries folder. -| -| Prototype: -| -| $autoload['libraries'] = array('database', 'session', 'xmlrpc'); -*/ - -$autoload['libraries'] = array(); - - -/* -| ------------------------------------------------------------------- -| Auto-load Helper Files -| ------------------------------------------------------------------- -| Prototype: -| -| $autoload['helper'] = array('url', 'file'); -*/ - -$autoload['helper'] = array(); - - -/* -| ------------------------------------------------------------------- -| Auto-load Plugins -| ------------------------------------------------------------------- -| Prototype: -| -| $autoload['plugin'] = array('captcha', 'js_calendar'); -*/ - -$autoload['plugin'] = array(); - - -/* -| ------------------------------------------------------------------- -| Auto-load Config files -| ------------------------------------------------------------------- -| Prototype: -| -| $autoload['config'] = array('config1', 'config2'); -| -| NOTE: This item is intended for use ONLY if you have created custom -| config files. Otherwise, leave it blank. -| -*/ - -$autoload['config'] = array(); - - -/* -| ------------------------------------------------------------------- -| Auto-load Core Libraries -| ------------------------------------------------------------------- -| -| DEPRECATED: Use $autoload['libraries'] above instead. -| -*/ -// $autoload['core'] = array(); - - +<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+/*
+| -------------------------------------------------------------------
+| AUTO-LOADER
+| -------------------------------------------------------------------
+| This file specifies which systems should be loaded by default.
+|
+| In order to keep the framework as light-weight as possible only the
+| absolute minimal resources are loaded by default. For example,
+| the database is not connected to automatically since no assumption
+| is made regarding whether you intend to use it. This file lets
+| you globally define which systems you would like loaded with every
+| request.
+|
+| -------------------------------------------------------------------
+| Instructions
+| -------------------------------------------------------------------
+|
+| These are the things you can load automatically:
+|
+| 1. Libraries
+| 2. Helper files
+| 3. Plugins
+| 4. Custom config files
+|
+*/
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Libraries
+| -------------------------------------------------------------------
+| These are the classes located in the system/libraries folder
+| or in your system/application/libraries folder.
+|
+| Prototype:
+|
+| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
+*/
+
+$autoload['libraries'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Helper Files
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['helper'] = array('url', 'file');
+*/
+
+$autoload['helper'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Plugins
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['plugin'] = array('captcha', 'js_calendar');
+*/
+
+$autoload['plugin'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Config files
+| -------------------------------------------------------------------
+| Prototype:
+|
+| $autoload['config'] = array('config1', 'config2');
+|
+| NOTE: This item is intended for use ONLY if you have created custom
+| config files. Otherwise, leave it blank.
+|
+*/
+
+$autoload['config'] = array();
+
+
+/*
+| -------------------------------------------------------------------
+| Auto-load Core Libraries
+| -------------------------------------------------------------------
+|
+| DEPRECATED: Use $autoload['libraries'] above instead.
+|
+*/
+// $autoload['core'] = array();
+
+
?>
\ No newline at end of file diff --git a/system/application/config/config.php b/system/application/config/config.php index 3bb9d1d23..941d9c303 100644 --- a/system/application/config/config.php +++ b/system/application/config/config.php @@ -152,8 +152,7 @@ $config['function_trigger'] = 'm'; | You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
-| 0 = Disables logging
-| 0 = Error logging TURNED OFF
+| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
diff --git a/system/application/config/routes.php b/system/application/config/routes.php index 8a09dec39..be09f5aa2 100644 --- a/system/application/config/routes.php +++ b/system/application/config/routes.php @@ -43,8 +43,4 @@ $route['default_controller'] = "welcome";
$route['scaffolding_trigger'] = "";
-
-
-
-
?>
\ No newline at end of file |