Example #1
0
 /**
  * Get modeulList.
  * 
  * @access public
  * @return void
  */
 public function getModuleList()
 {
     $hostURL = getHostURL();
     foreach ($this->lang->wechat->response->moduleList as $module => $title) {
         if ($module != 'manual') {
             $moduleList[$hostURL . $this->loadModel('common')->createFrontLink($module, 'index')] = $title;
         }
         if ($module == 'manual') {
             $moduleList[$module] = $title;
         }
     }
     return $moduleList;
 }
<?php

include_once 'config.php';
session_start();
if (file_exists(CONFIG_FILE) && !file_exists(INSTALL_FILE)) {
    header('Location: ' . getHostURL() . getRoot());
} else {
    include_once 'elements/header.php';
    include_once 'elements/content.php';
    include_once 'elements/footer.php';
}