summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:27:10 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-03-04 21:27:10 +0100
commitf019ab46c33b430831053cd41b5b04a163fd529f (patch)
tree085955989a1c5e564d4b871d3caceb8c7dc911be /inc/html.php
parent8daa2c9f98ef02857c1d92f2f226288c313146a7 (diff)
downloadrpg-f019ab46c33b430831053cd41b5b04a163fd529f.tar.gz
rpg-f019ab46c33b430831053cd41b5b04a163fd529f.tar.bz2
added login form at denied access page
- restore lang string as well
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index 507ba511e..514f961e7 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -81,6 +81,10 @@ function html_denied() {
$denied
);
print $denied;
+
+ if(!$_SERVER['REMOTE_USER']){
+ html_login();
+ }
}
/**