Switch back to include instead of include_once.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 20 Jul 2009 03:08:56 +0000 (21:08 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 20 Jul 2009 19:16:10 +0000 (13:16 -0600)
Might as well start catching all the places where we shouldn't be
including/requiring libs anymore.

framework/Autoloader/lib/Horde/Autoloader.php

index f386b07..1c4a1bb 100644 (file)
@@ -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;