public function saveConfig() { Config::put(Request::get('fldCfgKey'), Request::get('fldCfgValue')); return Widget::popupWrapper('Saved Config Item: ' . Request::get('fldCfgKey'), 1000, 'Save Config Message') . $this->index(); }
public function setVar() { global $argv; echo Config::put($argv[2], $argv[3]); }