X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fmain.php;h=d6baecbd0a8dc231e4a8d8798e0208676c80ff86;hb=a2eec6ac24459bca81a633699d8cc2979d1dd586;hp=7e4412085724afc392d3aa9a700be6fcf1f8e12e;hpb=61cf7ed149664b7fbab691ecb23777ebdeb8047e;p=gosa.git diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 7e4412085..d6baecbd0 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -36,6 +36,7 @@ textdomain($domain); /* Remember everything we did after the last click */ session::start(); session::set('errorsAlreadyPosted',array()); +session::set('runtime_cache',array()); session::set('limit_exceeded',FALSE); if ($_SERVER["REQUEST_METHOD"] == "POST"){ @@ -137,8 +138,6 @@ bindtextdomain($domain, LOCALE_DIR); textdomain($domain); @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to"); -session::un_set('plist'); - /* Prepare plugin list */ if (!session::is_set('plist')){ /* Initially load all classes */ @@ -148,8 +147,8 @@ if (!session::is_set('plist')){ if (is_readable("$BASE_DIR/$path")){ require_once("$BASE_DIR/$path"); } else { - msg_dialog::display(_("Could not location file."), - sprintf(_("Fatal error: cannot locate file '%s' - please run '%s' to fix this"), + msg_dialog::display(_("Fatal error"), + sprintf(_("Cannot locate file '%s' - please run '%s' to fix this"), "$BASE_DIR/$path", "update-gosa"), FATAL_ERROR_DIALOG); exit; }