commit | 72c82c1de6efb25a529f3206800de7ddd70ea83e | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Fri Apr 04 11:34:58 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Fri Apr 04 11:34:58 2008 +0000 |
tree | fd5903436ddd7b27d7d53e9570179eefb5902f44 | |
parent | 43cbdaaf9dc073b7e6bcf6416650c3249ea37d5d [diff] |
include() vs include_once() allows for multiple views with the same name
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 50bd413..31e7d66 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -705,7 +705,7 @@ } 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);