Ejemplo n.º 1
0
Archivo: index.php Proyecto: lmcro/fcms
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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();
 }