diff --git a/html/getxls.php b/html/getxls.php
index 4e8096d6fbd10850f0d4905906b0ff9870395034..7bb560e7dfa866e4580e634d87ab52737feb7516 100644 (file)
--- a/html/getxls.php
+++ b/html/getxls.php
/* Logged in? Simple security check */
if (!isset($_SESSION['ui'])){
gosa_log ("Error: getldif.php called without session");
- header ("Location: ../index.php");
+ header ("Location: index.php");
exit;
}
$ui= $_SESSION["ui"];
$acl= get_permissions ($config->current['BASE'], $ui->subtreeACL);
$acl= get_module_permission($acl, "all", $config->current['BASE']);
if (chkacl($acl, "all") != ""){
- header ("Location: ../index.php");
+ header ("Location: index.php");
exit;
}