When toggling safesearch, go back to the directory page, rather than the z_root by default.

This commit is contained in:
Thomas Willingham 2013-11-11 03:09:45 +00:00
parent 29e142acb3
commit c8008039d8

View File

@ -15,7 +15,7 @@ if($safe_mode == 1)
if(isset($_GET['address']))
$address = $_GET['address'];
else
$address = z_root();
$address = z_root() . '/directory';
goaway($address);
}