X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fsetup%2Fmain.inc;h=2e00ce96e7de340ca70665d8ab1e2540c556565a;hb=90c530854a9ba61f3d22a77708f61bf66f61dbed;hp=870490a742312f87e51fc95a74d3954815474eac;hpb=96bcf1c6774971212667efa11268cd701e622790;p=gosa.git diff --git a/gosa-core/setup/main.inc b/gosa-core/setup/main.inc index 870490a74..2e00ce96e 100644 --- a/gosa-core/setup/main.inc +++ b/gosa-core/setup/main.inc @@ -20,16 +20,16 @@ /* 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: ?>