From d5bc0d2d09113a5f561f04eb5a8ad9483a45faaf Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 Dec 2008 16:18:13 +0000 Subject: [PATCH] Updated setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13263 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/setup/class_setup.inc | 2 +- gosa-core/setup/class_setupStep_Language.inc | 4 ++-- gosa-core/setup/main.inc | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-core/setup/class_setup.inc b/gosa-core/setup/class_setup.inc index 4f7c68b32..aba476a00 100644 --- a/gosa-core/setup/class_setup.inc +++ b/gosa-core/setup/class_setup.inc @@ -199,7 +199,7 @@ class setup $s = "  "; } - if(session::get('js')){ + if(session::global_get('js')){ $str .="
"; diff --git a/gosa-core/setup/class_setupStep_Language.inc b/gosa-core/setup/class_setupStep_Language.inc index 47e868878..3f9ec0d8c 100644 --- a/gosa-core/setup/class_setupStep_Language.inc +++ b/gosa-core/setup/class_setupStep_Language.inc @@ -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); } } } diff --git a/gosa-core/setup/main.inc b/gosa-core/setup/main.inc index 2e00ce96e..5ab07216d 100644 --- a/gosa-core/setup/main.inc +++ b/gosa-core/setup/main.inc @@ -19,17 +19,17 @@ */ /* 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: ?> -- 2.30.2