Code

Updated setup
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Dec 2008 16:18:13 +0000 (16:18 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Dec 2008 16:18:13 +0000 (16:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13263 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setup.inc
gosa-core/setup/class_setupStep_Language.inc
gosa-core/setup/main.inc

index 4f7c68b326a3ad989cf71b732858535c4eb48dc8..aba476a0056c07df943df791eb80e9793900217e 100644 (file)
@@ -199,7 +199,7 @@ class setup
         $s = "<img src='images/empty.png' alt=' ' class='center'>&nbsp;";
       }
 
-      if(session::get('js')){
+      if(session::global_get('js')){
 
         $str .="<div >";
     
index 47e8688780ff46f17a3fe1a8e8f692e1e6b41386..3f9ec0d8ceade5faa785f3fea9b5281829a217d2 100644 (file)
@@ -60,9 +60,9 @@ class Step_Language extends setup_step
       $this->is_completed = TRUE;
 
       if($this->lang_selected != ""){
-        session::set('lang',$this->lang_selected);
+        session::global_set('lang',$this->lang_selected);
       }else{
-        session::set('lang',$this->lang);
+        session::global_set('lang',$this->lang);
       }
     }
   }
index 2e00ce96e7de340ca70665d8ab1e2540c556565a..5ab07216df4819765ae431a8acf15fc2e6ad31ea 100644 (file)
  */
 
 /* Create a new setup class if necessary  */
-if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
-  session::set('setup',new setup());
+if (!session::global_is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
+  session::global_set('setup',new setup());
 }
-$setup = session::get('setup');
+$setup = session::global_get('setup');
 
 /* Execute formular */
 $setup->save_object();
 $display= $setup->execute();
 
 /* Store changes  in session */
-session::set('setup',$setup);
+session::global_set('setup',$setup);
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>