From: cajus Date: Mon, 22 May 2006 11:59:19 +0000 (+0000) Subject: Removed print_red from early error messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=735a2ee33bf5330f3994c1a5598e494931c3f0d6;p=gosa.git Removed print_red from early error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3489 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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(); }