changeset 278:6770ef8b3575

Disable checking of undefined configuration settings.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 16 May 2019 17:59:18 +0300
parents 4080b9bde2ac
children 54a54921426c
files mgallery.inc.php
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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;
+*/
     }
   }