diff --git a/html/getldif.php b/html/getldif.php
index 21817d1b537157a657d0b2c86a717029fa6b8e0e..1c32f12ace8d473822e2d8d9ada9fc1653b86ac9 100644 (file)
--- a/html/getldif.php
+++ b/html/getldif.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;
}