/** * Constructor * * @return void */ public function __construct($fcmsError, $fcmsDatabase, $fcmsUser) { $this->fcmsError = $fcmsError; $this->fcmsDatabase = $fcmsDatabase; $this->fcmsUser = $fcmsUser; $this->fcmsTemplate = array('currentUserId' => $this->fcmsUser->id, 'sitename' => cleanOutput(getSiteName()), 'nav-link' => getAdminNavLinks(), 'pagetitle' => T_('Dashboard'), 'path' => URL_PREFIX, 'displayname' => $this->fcmsUser->displayName, 'version' => getCurrentVersion(), 'year' => date('Y')); $this->control(); }
/** * Constructor * * @return void */ public function __construct($fcmsError, $fcmsDatabase, $fcmsUser) { $this->fcmsError = $fcmsError; $this->fcmsDatabase = $fcmsDatabase; $this->fcmsUser = $fcmsUser; $this->fcmsTemplate = array('sitename' => getSiteName(), 'nav-link' => getAdminNavLinks(), 'pagetitle' => T_('Administration: Configuration'), 'path' => URL_PREFIX, 'displayname' => $this->fcmsUser->displayName, 'version' => getCurrentVersion(), 'year' => date('Y')); $this->control(); }