IMP doesn't have base.php anymore
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Aug 2009 21:22:23 +0000 (15:22 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Aug 2009 21:22:23 +0000 (15:22 -0600)
framework/Core/lib/Horde/Registry.php

index f681a61..58a7123 100644 (file)
@@ -913,8 +913,11 @@ class Horde_Registry
         }
 
         /* Include base.php file. */
+        // TODO: Remove once there is no more base.php files
         if (!empty($options['load_base'])) {
-            require_once $app_lib . '/base.php';
+            if (file_exists($app_lib . '/base.php')) {
+                require_once $app_lib . '/base.php';
+            }
         }
 
         return true;