diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-04 13:34:58 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-04 13:34:58 +0200 |
commit | 72c82c1de6efb25a529f3206800de7ddd70ea83e (patch) | |
tree | fd5903436ddd7b27d7d53e9570179eefb5902f44 /system/libraries/Loader.php | |
parent | 43cbdaaf9dc073b7e6bcf6416650c3249ea37d5d (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.php | 2 |
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);
|