]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
lib/log.php broke after switch to PDO DB abstraction
[nominatim.git] / lib / init.php
index b7ce27c2ab0485bf580ca9b329fa42f516112f1a..0bd23e31cfe57ffb1376b8025574efd738f22a1e 100644 (file)
@@ -1,10 +1,9 @@
 <?php
 
 require_once(CONST_BasePath.'/lib/lib.php');
-require_once(CONST_BasePath.'/lib/db.php');
+require_once(CONST_BasePath.'/lib/DB.php');
 
-if (get_magic_quotes_gpc())
-{
+if (get_magic_quotes_gpc()) {
     echo "Please disable magic quotes in your php.ini configuration\n";
     exit;
 }