Code

Updated gosaSupportDaemon
[gosa.git] / gosa-core / html / main.php
index 7e4412085724afc392d3aa9a700be6fcf1f8e12e..d6baecbd0a8dc231e4a8d8798e0208676c80ff86 100644 (file)
@@ -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", "<b>update-gosa</b>"), FATAL_ERROR_DIALOG);
         exit;
       }