From 64628c800d711c3a3c28e2bf94efd7e8b26a5eba Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 4 Jan 2011 05:06:10 -0800 Subject: provide "return home" key --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 2e14e7d2a..cbc85accf 100644 --- a/index.php +++ b/index.php @@ -173,6 +173,9 @@ if($a->module_loaded) { } +if(x($_SESSION,'visitor_home')) + $a->page['content'] .= ''; + if(stristr($_SESSION['sysmsg'], t('Permission denied'))) { header($_SERVER["SERVER_PROTOCOL"] . ' 403 ' . t('Permission denied.')); } -- cgit v1.2.3