]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/settings.php
Removed unnecessary test for tiger.
[nominatim.git] / settings / settings.php
index 93d3a9d5b4cfc5733056ad60541b462bc310f4d8..7285ee66995553f722f1dbc2c6fe5e6757fc2f48 100644 (file)
@@ -1,11 +1,12 @@
 <?php
-       @define('CONST_InstallPath', dirname(dirname(__FILE__)));
+       @define('CONST_BasePath', '@CMAKE_SOURCE_DIR@');
+       @define('CONST_InstallPath', '@CMAKE_BINARY_DIR@');
        if (file_exists(CONST_InstallPath.'/settings/local.php')) require_once(CONST_InstallPath.'/settings/local.php');
        if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true);
 
        // General settings
        @define('CONST_Debug', false);
-       @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // <driver>://<username>:<password>@<host>:<port>/<database>
+    @define('CONST_Database_DSN', 'pgsql://@/nominatim'); // <driver>://<username>:<password>@<host>:<port>/<database>
        @define('CONST_Database_Web_User', 'www-data');
        @define('CONST_Max_Word_Frequency', '50000');
        @define('CONST_Limit_Reindexing', true);