Nominatim/lib/init.php

14 lines
325 B
PHP
Raw Normal View History

2010-10-24 03:12:37 +04:00
<?php
@define('CONST_BasePath', dirname(dirname(__FILE__)));
require_once(CONST_BasePath.'/settings/settings.php');
require_once(CONST_BasePath.'/lib/lib.php');
require_once(CONST_BasePath.'/lib/db.php');
if (get_magic_quotes_gpc())
{
2011-02-02 17:31:50 +03:00
echo "Please disable magic quotes in your php.ini configuration\n";
2010-10-24 03:12:37 +04:00
exit;
}