X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=html%2Fsetup.php;h=787d709dfd5de0fa7832cda4f74e80aa401bdcc7;hb=2c0515a09cbb244ec32757b8372f7e55830a67e3;hp=754e0261b5e6d8b00b289c6fe35e7c620e516ce2;hpb=a61e00f3bb30bacfa8490ac32e8e4890fd01aa16;p=gosa.git diff --git a/html/setup.php b/html/setup.php index 754e0261b..787d709df 100644 --- a/html/setup.php +++ b/html/setup.php @@ -22,10 +22,21 @@ session_start(); $_SESSION['DEBUGLEVEL']= 1; + +if (!isset($_GET['js']) && !isset($_SESSION['js'])){ + echo ''; + + $_SESSION['js']= FALSE; +} else { + $_SESSION['js']= TRUE; +} + /* Load required includes */ require_once ("../include/php_setup.inc"); require_once ("functions.inc"); -require_once ("setup_checks.inc"); +require_once ("functions_setup.inc"); // Save the Post Data (back and forward button) foreach ($_POST as $key => $val){ @@ -72,7 +83,7 @@ $smarty->compile_dir= '/var/spool/gosa'; /* Check for compile directory */ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))){ - print_red(_("Directory '%s' specified as smarty compile directory is not accessable, check existence and rigths of this directory!"), $smarty->compile_dir); + print_red(_("Directory '%s' specified as smarty compile directory is not accessible, please check existence and rights of this directory!"), $smarty->compile_dir); echo $_SESSION['errors']; exit(); }