]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/update.php
check return of DB creation command
[nominatim.git] / utils / update.php
index eadd385136c1f22b9d87ccfcc3a732181691c2d4..095aaa2ef578fd28a9fd0ec15c19f9f54c7cbbaa 100755 (executable)
@@ -67,6 +67,8 @@
        // Assume osm2pgsql is in the folder above
        $sBasePath = dirname(dirname(__FILE__));
 
+       date_default_timezone_set('Etc/UTC');
+
        $oDB =& getDB();
 
        $aDSNInfo = DB::parseDSN(CONST_Database_DSN);