Skip to content

Commit 9bcb27b

Browse files
authored
Merge pull request #1021 from london89/patch-1
Update general.class.php
2 parents ac53e70 + e970554 commit 9bcb27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/general.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @version 1.3
1010
*/
1111

12-
if (defined('HOME_NETWORK') && HOME_NETWORK != '' && !isset($argv[0]) && (!(preg_match('/\/gps\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/\/trackme\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/\/btraced\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/\/rss\.php/is', $_SERVER['REQUEST_URI'])) || $_REQUEST['op'] != '')) {
12+
if (defined('HOME_NETWORK') && HOME_NETWORK != '' && !isset($argv[0]) && (!(preg_match('/^\/gps\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/^\/trackme\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/^\/btraced\.php/is', $_SERVER['REQUEST_URI']) || preg_match('/^\/rss\.php/is', $_SERVER['REQUEST_URI'])) || $_REQUEST['op'] != '')) {
1313
$p = preg_quote(HOME_NETWORK);
1414
$p = str_replace('\*', '\d+?', $p);
1515
$p = str_replace(',', ' ', $p);

0 commit comments

Comments
 (0)