瀏覽代碼

This should have been in that uninlining commit

undefined
spaghetti 7 年之前
committed by Tomochin
父節點
當前提交
39b6f5b131
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      design/publicheader.php

+ 1
- 1
design/publicheader.php 查看文件

@@ -10,7 +10,7 @@ define('FOOTER_FILE',SERVER_ROOT.'/design/publicfooter.php');
<link rel="shortcut icon" href="favicon.ico?v=<?=md5_file('favicon.ico');?>" />
<link href="<?=STATIC_SERVER ?>styles/public/style.css?v=<?=filemtime(SERVER_ROOT.'/static/styles/public/style.css')?>" rel="stylesheet" type="text/css" />
<?
$Scripts = ['jquery', 'script_start', 'ajax.class', 'cookie.class', 'storage.class', 'global'];
$Scripts = ['jquery', 'script_start', 'ajax.class', 'cookie.class', 'storage.class', 'global', 'public'];
foreach($Scripts as $Script) {
if (($ScriptStats = G::$Cache->get_value("script_stats_$Script")) === false || $ScriptStats['mtime'] != filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js")) {
$ScriptStats['mtime'] = filemtime(SERVER_ROOT.STATIC_SERVER."functions/$Script.js");


Loading…
取消
儲存