summaryrefslogtreecommitdiffstats
path: root/system/libraries/Controller.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-28 19:13:38 +0200
committeradmin <devnull@localhost>2006-09-28 19:13:38 +0200
commitee54c112bfb488f833fa032758b817e1bb2c1d7d (patch)
tree0f88961293c374d2f6da29856466b75ce319e119 /system/libraries/Controller.php
parente721cc7c81af84dcabce2992fa693ce36b605a19 (diff)
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r--system/libraries/Controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
index f00a7262b..ff914d131 100644
--- a/system/libraries/Controller.php
+++ b/system/libraries/Controller.php
@@ -239,7 +239,7 @@ class Controller extends CI_Base {
}
$obj =& get_instance();
- if (in_array($name, $obj->_ci_models))
+ if (in_array($name, $obj->_ci_models, TRUE))
{
return;
}
@@ -350,7 +350,7 @@ class Controller extends CI_Base {
foreach ($autoload['libraries'] as $item)
{
- if ( ! in_array($item, $exceptions))
+ if ( ! in_array($item, $exceptions, TRUE))
{
$this->_ci_load_class($item);
}
@@ -566,7 +566,7 @@ class Controller extends CI_Base {
if (class_exists('Scaffolding')) return;
- if ( ! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete')))
+ if ( ! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete'), TRUE))
{
$method = 'view';
}