From: Michael M Slusarz Date: Mon, 20 Jul 2009 03:08:56 +0000 (-0600) Subject: Switch back to include instead of include_once. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=069c5ad672239731cb4804703b523e15d36e9f4b;p=horde.git 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. --- 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;