APP_URL . 'manage'; } } public function __construct() { $this->aconfig = new AConfig(); $this->auser = new AUser(); $this->mailer = new Mailer(); $this->data['rootUrl'] = Doo::conf()->APP_URL; } function sysinfo() { if (isset($_POST['proname']) || isset($_POST['aemail'])) { if ($_POST['proname']) { $this->aconfig->proname = $_POST['proname']; $this->aconfig->update(array('where' => 'conid = 1')); } if ($_POST['aemail'] && filter_var($_POST['aemail'], FILTER_VALIDATE_EMAIL)) { $this->auser->aemail = $_POST['aemail']; $this->auser->update(array('where' => 'auid = 1')); $this->mailer->setEmails($_POST['aemail']); $this->mailer->seteTitle('管理员邮箱地址已修改'); $this->mailer->setClientName($_SESSION['aname']); $signupConfigStr = '