| | |
| | | |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('admin'); |
| | | $app->auth->check_security_permissions('admin_allow_system_config'); |
| | | |
| | | // Loading classes |
| | | $app->uses('tpl,tform,tform_actions'); |
| | |
| | | $server_id = $this->id; |
| | | |
| | | $this->dataRecord = $app->getconf->get_global_config($section); |
| | | if (is_null($this->dataRecord)) { |
| | | $this->dataRecord = array(); |
| | | } |
| | | if ($section == 'domains'){ |
| | | if (isset($this->dataRecord['use_domain_module'])){ |
| | | $_SESSION['use_domain_module_old_value'] = $this->dataRecord['use_domain_module']; |