]> git.openstreetmap.org Git - nominatim.git/blob - lib/init.php
remove NY hack and wait for complaints to arrive
[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/leakybucket.php');
8         require_once(CONST_BasePath.'/lib/db.php');
9
10         if (get_magic_quotes_gpc())
11         {
12                 echo "Please disable magic quotes in your php.ini configuration\n";
13                 exit;
14         }