summaryrefslogtreecommitdiffstats
path: root/admin/inc/auth.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/inc/auth.inc.php')
-rw-r--r--admin/inc/auth.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/inc/auth.inc.php b/admin/inc/auth.inc.php
index 0b70d05..d21467b 100644
--- a/admin/inc/auth.inc.php
+++ b/admin/inc/auth.inc.php
@@ -1,4 +1,4 @@
-<?php
+<?php
include (dirname(__FILE__).'/pwd.inc.php');
if ( isset($_COOKIE['auth']) && $_COOKIE['auth'] == $password ) {
@@ -7,5 +7,5 @@ if ( isset($_COOKIE['auth']) && $_COOKIE['auth'] == $password ) {
setcookie('auth','', time()-3600);
header('Location: login.php');
die;
-}
+}
?> \ No newline at end of file