Added a constat to all files in functions/ to be able to chech whether the
[squirrelmail.git] / src / folders.php
index 75363d03d8047cccd8c74de842e6ac924f06acf7..f35b84d8a224dfcad694932c1a0a5bb89fed3854 100644 (file)
@@ -1,9 +1,14 @@
 <?
-   include("../config/config.php");
-   include("../functions/strings.php");
-   include("../functions/page_header.php");
-   include("../functions/imap.php");
-   include("../functions/array.php");
+   if (!isset($config_php))
+      include("../config/config.php");
+   if (!isset($strings_php))
+      include("../functions/strings.php");
+   if (!isset($page_header_php))
+      include("../functions/page_header.php");
+   if (!isset($imap_php))
+      include("../functions/imap.php");
+   if (!isset($array_php))
+      include("../functions/array.php");
 
    include("../src/load_prefs.php");