Beispiel #1
0
 /**
  * Restores "secure" config items from session
  * @params string $scid Config id
  */
 function restoreSecureConfig($scid)
 {
     $sec_cfg = SpawVars::getSessionVar("spaw_configs");
     if ($sec_cfg != '' && is_array($sec_cfg[$scid])) {
         foreach ($sec_cfg[$scid] as $key => $cfg_item) {
             $this->setConfigItem($cfg_item->name, $cfg_item->value, $cfg_item->transfer_type);
         }
     }
 }