diff --git a/html/index.php b/html/index.php
index e3e87e6dadb6da018115bbd878a8fa16c855b31b..ece9138c5cc7fd7b518881d782280babedddb260 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* Check if gosa.conf is accessible */
if (!is_readable(CONFIG_DIR."/gosa.conf")){
- print_red(sprintf(_("GOsa configuration %s/gosa.conf is not readable. Aborted."), CONFIG_DIR));
- echo $_SESSION['errors'];
+ echo sprintf(_("GOsa configuration %s/gosa.conf is not readable. Aborted."), CONFIG_DIR);
exit();
}
/* Check for compile directory */
if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))){
- print_red(sprintf(_("Directory '%s' specified as compile directory is not accessible!"),
- $smarty->compile_dir));
- echo $_SESSION['errors'];
+ echo sprintf(_("Directory '%s' specified as compile directory is not accessible!"),
+ $smarty->compile_dir);
exit();
}