From 72c82c1de6efb25a529f3206800de7ddd70ea83e Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 4 Apr 2008 11:34:58 +0000 Subject: include() vs include_once() allows for multiple views with the same name --- system/libraries/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Loader.php') 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); -- cgit v1.2.3-24-g4f1b