aboutsummaryrefslogtreecommitdiffstats
path: root/mod/toggle_safesearch.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-11-11 03:09:45 +0000
committerThomas Willingham <founder@kakste.com>2013-11-11 03:09:45 +0000
commitc8008039d8a357be0125371830a48838aaa4916e (patch)
tree66ea87ef7ac78af16d6cdf1580b9c64deb2e2ce7 /mod/toggle_safesearch.php
parent29e142acb3edd8884ff83dc8211ddc0b5248e603 (diff)
downloadvolse-hubzilla-c8008039d8a357be0125371830a48838aaa4916e.tar.gz
volse-hubzilla-c8008039d8a357be0125371830a48838aaa4916e.tar.bz2
volse-hubzilla-c8008039d8a357be0125371830a48838aaa4916e.zip
When toggling safesearch, go back to the directory page, rather than the z_root by default.
Diffstat (limited to 'mod/toggle_safesearch.php')
-rw-r--r--mod/toggle_safesearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/toggle_safesearch.php b/mod/toggle_safesearch.php
index 1294520c6..9d4e9a109 100644
--- a/mod/toggle_safesearch.php
+++ b/mod/toggle_safesearch.php
@@ -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);
}