Example #1
0
 /**
  * 获取头部数据
  *
  * @return string
  */
 public static function getHeaderStore()
 {
     $headerStore = self::$headerStore;
     if (RUN_MODE === 'develop') {
         $headerStore['queryCount'] = \jt\Model::getQueryTimes();
         // + \dal\Dal::selectQueryTimes();
         $includeFiles = get_included_files();
         $headerStore['loadFilesCount'] = count($includeFiles);
         //$headerStore['loadFiles'] = $includeFiles;
     }
     return $headerStore;
 }