]> git.openstreetmap.org Git - nominatim.git/blob - lib/init.php
set osm2pgsql cache memory to a default based on memory in the machine
[nominatim.git] / lib / init.php
1 <?php
2
3         @define('CONST_BasePath', dirname(dirname(__FILE__)));
4
5         require_once(CONST_BasePath.'/settings/settings.php');
6         require_once(CONST_BasePath.'/lib/lib.php');
7         require_once(CONST_BasePath.'/lib/db.php');
8
9         if (get_magic_quotes_gpc())
10         {
11                 echo "Please disable magic quotes in your php.ini configuration\n";
12                 exit;
13         }