From 735a2ee33bf5330f3994c1a5598e494931c3f0d6 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 22 May 2006 11:59:19 +0000 Subject: [PATCH] Removed print_red from early error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3489 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/html/index.php b/html/index.php index e3e87e6da..ece9138c5 100644 --- a/html/index.php +++ b/html/index.php @@ -51,8 +51,7 @@ if(isset($_POST['javascript']) && $_POST['javascript'] == "true") { /* 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(); } @@ -73,9 +72,8 @@ $smarty->assign ('nextfield', 'username'); /* 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(); } -- 2.30.2