Code

Samba- Updated image dependencies.
[gosa.git] / gosa-core / setup / main.inc
index 870490a742312f87e51fc95a74d3954815474eac..2e00ce96e7de340ca70665d8ab1e2540c556565a 100644 (file)
 
 /* Create a new setup class if necessary  */
 if (!session::is_set('setup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
-  $_SESSION['setup']= new setup ();
+  session::set('setup',new setup());
 }
-$setup= $_SESSION['setup'];
+$setup = session::get('setup');
 
 /* Execute formular */
 $setup->save_object();
 $display= $setup->execute();
 
 /* Store changes  in session */
-$_SESSION['setup']= $setup;
+session::set('setup',$setup);
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>