summaryrefslogtreecommitdiff
path: root/php/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'php/admin/include')
-rw-r--r--php/admin/include/auth.class.php.in (renamed from php/admin/include/auth.class.php)2
-rw-r--r--php/admin/include/headers.php.in (renamed from php/admin/include/headers.php)2
2 files changed, 2 insertions, 2 deletions
diff --git a/php/admin/include/auth.class.php b/php/admin/include/auth.class.php.in
index e14ab69..8932a10 100644
--- a/php/admin/include/auth.class.php
+++ b/php/admin/include/auth.class.php.in
@@ -103,7 +103,7 @@ class KolabAuth {
session_destroy();
$this->error_string = "";
//$this->gotoLoginPage();
- Header("Location: /admin/");
+ Header("Location: @webserver_web_prefix@/admin/");
}
function handleLogin() {
diff --git a/php/admin/include/headers.php b/php/admin/include/headers.php.in
index bb9018d..1c8a511 100644
--- a/php/admin/include/headers.php
+++ b/php/admin/include/headers.php.in
@@ -23,7 +23,7 @@ header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
-$topdir = '/admin';
+$topdir = '@webserver_web_prefix@/admin';
/*
Local variables:
mode: php