diff mgallery.inc.php @ 278:6770ef8b3575

Disable checking of undefined configuration settings.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 16 May 2019 17:59:18 +0300
parents bc7bda1d1410
children 8297c895f22e
line wrap: on
line diff
--- a/mgallery.inc.php	Wed May 15 04:55:37 2019 +0300
+++ b/mgallery.inc.php	Thu May 16 17:59:18 2019 +0300
@@ -231,7 +231,8 @@
       ($mgSettings = parse_ini_file($file, FALSE)) !== FALSE)
     {
       mgDebug("Found '".$file."' config.\n");
-
+      return TRUE;
+/*
       // Validate settings
       $ok = TRUE;
       foreach ($mgSettings as $setting => $val)
@@ -243,6 +244,7 @@
         }
       }
       return $ok;
+*/
     }
   }