When toggling safesearch, go back to the directory page, rather than the z_root by default.
This commit is contained in:
parent
29e142acb3
commit
c8008039d8
@ -15,7 +15,7 @@ if($safe_mode == 1)
|
|||||||
if(isset($_GET['address']))
|
if(isset($_GET['address']))
|
||||||
$address = $_GET['address'];
|
$address = $_GET['address'];
|
||||||
else
|
else
|
||||||
$address = z_root();
|
$address = z_root() . '/directory';
|
||||||
|
|
||||||
goaway($address);
|
goaway($address);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user