lib1/2 update

This commit is contained in:
following
2013-08-03 22:14:29 +02:00
parent 2b9b834f09
commit f61aa7568e
5 changed files with 19 additions and 1 deletions

View File

@ -47,6 +47,10 @@ function __autoload($class_name)
require_once($opt['rootpath'] . 'config2/settings.inc.php');
require_once($opt['rootpath'] . 'config2/verify-settings.inc.php');
foreach ($opt['page']['banned_user_agents'] as $ua)
if (strpos($useragent, $ua) !== false)
die();
set_domain();
if (!(isset($_REQUEST['sqldebug']) && $_REQUEST['sqldebug']=='1'))