]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/setup/SetupClass.php
collect coverage for /website directory as well
[nominatim.git] / lib / setup / SetupClass.php
index 92c36bf3ab306e680a972dc2a2e934264b968285..77b14a8a4c27260a3a5bde6c303a43f86b16af83 100755 (executable)
@@ -42,7 +42,10 @@ class SetupFunctions
             $this->iCacheMemory = getCacheMemoryMB();
         }
 
             $this->iCacheMemory = getCacheMemoryMB();
         }
 
-        $this->sModulePath = getSetting('DATABASE_MODULE_PATH', CONST_Default_ModulePath);
+        $this->sModulePath = getSetting('DATABASE_MODULE_PATH');
+        if (!$this->sModulePath) {
+            $this->sModulePath = CONST_Default_ModulePath;
+        }
         info('module path: ' . $this->sModulePath);
 
         // parse database string
         info('module path: ' . $this->sModulePath);
 
         // parse database string