/** * run something for config of options * @return [type] [description] */ public function doConfig($_config) { // run visitor table installation // need to run only one times if (isset($_config['logVisitors'])) { $result = \lib\utility\visitor::install(); if (!in_array(false, $result)) { debug::true(T_("Start logging visitors")); } } if (isset($_config['coming'])) { setcookie('preview', 'yes', time() + 365 * 24 * 60 * 60, '/', '.' . Service); } }