]> git.openstreetmap.org Git - nominatim.git/blob - lib/init.php
67efdbfdf6edb3c8894f7d8a487adfde7d193633
[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         }