summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-04-04 13:34:58 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-04-04 13:34:58 +0200
commit72c82c1de6efb25a529f3206800de7ddd70ea83e (patch)
treefd5903436ddd7b27d7d53e9570179eefb5902f44 /system/libraries/Loader.php
parent43cbdaaf9dc073b7e6bcf6416650c3249ea37d5d (diff)
include() vs include_once() allows for multiple views with the same name
Diffstat (limited to 'system/libraries/Loader.php')
-rw-r--r--system/libraries/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index 50bd4130e..31e7d660f 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -705,7 +705,7 @@ class CI_Loader {
}
else
{
- include_once($_ci_path);
+ include($_ci_path); // include() vs include_once() allows for multiple views with the same name
}
log_message('debug', 'File loaded: '.$_ci_path);