summaryrefslogtreecommitdiff
path: root/php/admin
diff options
context:
space:
mode:
Diffstat (limited to 'php/admin')
-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
-rwxr-xr-xphp/admin/templates/page.tpl.in (renamed from php/admin/templates/page.tpl)4
3 files changed, 4 insertions, 4 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
diff --git a/php/admin/templates/page.tpl b/php/admin/templates/page.tpl.in
index 8cce0b9..30b2c16 100755
--- a/php/admin/templates/page.tpl
+++ b/php/admin/templates/page.tpl.in
@@ -28,7 +28,7 @@ function changeLanguage(combobox) {ldelim}
</head>
<body>
<div id="topbar">
- <a href="/admin"><div id="toplogo"></div></a>
+ <a href="@webserver_web_prefix@/admin"><div id="toplogo"></div></a>
<div id="toptitle">{$page_title}</div>
</div>
<div id="topuserinfo">
@@ -106,4 +106,4 @@ function changeLanguage(combobox) {ldelim}
<br/>
<br/>
</body>
-</html> \ No newline at end of file
+</html>