芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/status.pulsehost.co.uk/app/controllers/DomainName.php
monitors_heartbeats->domain_names_is_enabled) { redirect('not-found'); } \Altum\Authentication::guard(); $domain_name_id = isset($this->params[0]) ? (int) $this->params[0] : null; if(!$domain_name = db()->where('domain_name_id', $domain_name_id)->where('user_id', $this->user->user_id)->getOne('domain_names')) { redirect('domain-names'); } $domain_name->whois = json_decode($domain_name->whois ?? ''); $domain_name->ssl = json_decode($domain_name->ssl ?? ''); /* Set a custom title */ Title::set(sprintf(l('domain_name.title'), $domain_name->name)); /* Prepare the view */ $data = [ 'domain_name' => $domain_name, ]; $view = new \Altum\View('domain-name/index', (array) $this); $this->add_view_content('content', $view->run($data)); } }