summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/display.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/display.php b/inc/display.php
index acf77e39..9186b47a 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -37,7 +37,7 @@
)));
}
- function loginForm($error=false, $username=false) {
+ function loginForm($error=false, $username=false, $redirect=false) {
global $config;
if(function_exists('sql_close')) sql_close();
@@ -47,7 +47,8 @@
'body'=>Element('login.html', Array(
'index'=>$config['root'],
'error'=>$error,
- 'username'=>$username
+ 'username'=>$username,
+ 'redirect'=>$redirect
)
)
)));