From 069c5ad672239731cb4804703b523e15d36e9f4b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sun, 19 Jul 2009 21:08:56 -0600 Subject: [PATCH] Switch back to include instead of include_once. Might as well start catching all the places where we shouldn't be including/requiring libs anymore. --- framework/Autoloader/lib/Horde/Autoloader.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Autoloader/lib/Horde/Autoloader.php b/framework/Autoloader/lib/Horde/Autoloader.php index f386b0714..1c4a1bbf5 100644 --- a/framework/Autoloader/lib/Horde/Autoloader.php +++ b/framework/Autoloader/lib/Horde/Autoloader.php @@ -57,8 +57,7 @@ class Horde_Autoloader $err_mask = $err_mask ^ E_DEPRECATED; } $oldErrorReporting = error_reporting($err_mask); - /* @TODO H4: Change back to include */ - $included = include_once $file_path . '.php'; + $included = include $file_path . '.php'; error_reporting($oldErrorReporting); if ($included) { return true; -- 2.11.0