summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-12 22:42:55 +0200
committeradmin <devnull@localhost>2006-10-12 22:42:55 +0200
commit5a14ea1599841bdaac15b45e3efd4cba01601f49 (patch)
tree38a96160bcc9655c6f2b7c9f27c8943554abf12d /system/libraries/Loader.php
parentf6615e650f7f871fbb4a2e0e1a75fd9afa2e3647 (diff)
Diffstat (limited to 'system/libraries/Loader.php')
-rw-r--r--system/libraries/Loader.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 2d312e9eb..7bf11609b 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -70,7 +70,7 @@ class CI_Loader {
* @param mixed the optional parameters
* @return void
*/
- function library($class, $params = FALSE)
+ function library($class, $params = NULL)
{
if ($class == '')
return;
@@ -640,7 +640,7 @@ class CI_Loader {
* @param mixed any additional parameters
* @return void
*/
- function _ci_load_class($class, $params = FALSE)
+ function _ci_load_class($class, $params = NULL)
{
// Prep the class name
$class = strtolower(str_replace(EXT, '', $class));
@@ -700,12 +700,12 @@ class CI_Loader {
* @param string
* @return null
*/
- function _ci_init_class($class, $prefix = '', $config = FALSE)
+ function _ci_init_class($class, $prefix = '', $config = NULL)
{
// Is there an associated config file for this class?
- if ($config !== FALSE)
+ if ($config !== NULL)
{
- $config = FALSE;
+ $config = NULL;
if (file_exists(APPPATH.'config/'.$class.EXT))
{
include_once(APPPATH.'config/'.$class.EXT);