]> git.openstreetmap.org Git - nominatim.git/blob - lib/init.php
automated banning of excessive bulk users
[nominatim.git] / lib / init.php
1 <?php
2
3         @define('CONST_BasePath', dirname(dirname(__FILE__)));
4         date_default_timezone_set('UTC');
5
6         require_once(CONST_BasePath.'/settings/settings.php');
7         require_once(CONST_BasePath.'/lib/lib.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         }