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