@@ -43,9 +43,9 @@ |
||
43 | 43 | mb_regex_encoding('UTF-8'); |
44 | 44 | |
45 | 45 | // set options |
46 | -require_once __DIR__.'/../config2/settings-dist.inc.php'; |
|
47 | -require_once __DIR__.'/../config2/settings.inc.php'; |
|
48 | -require_once __DIR__.'/../config2/verify-settings.inc.php'; |
|
46 | +require_once __DIR__ . '/../config2/settings-dist.inc.php'; |
|
47 | +require_once __DIR__ . '/../config2/settings.inc.php'; |
|
48 | +require_once __DIR__ . '/../config2/verify-settings.inc.php'; |
|
49 | 49 | |
50 | 50 | foreach ($opt['page']['banned_user_agents'] as $ua) { |
51 | 51 | if (strpos($useragent, $ua) !== false) { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | // TODO fix the following if statement, seems corrupted |
51 | 51 | if (strtolower( |
52 | 52 | substr( |
53 | - 'http' + strstr($_SERVER['REFERER'], '://'), |
|
53 | + 'http' +strstr($_SERVER['REFERER'], '://'), |
|
54 | 54 | 0, |
55 | 55 | strlen($opt['page']['absolute_http_url']) |
56 | 56 | ) |