fixed TTFB of Chrome, I don't know why, it just works

This commit is contained in:
printempw 2016-04-11 17:02:20 +08:00
parent ca2cd43df3
commit ae77730228

View File

@ -3,7 +3,7 @@
* @Author: printempw
* @Date: 2016-01-17 13:55:20
* @Last Modified by: printempw
* @Last Modified time: 2016-04-03 11:21:56
* @Last Modified time: 2016-04-11 17:01:15
*/
session_start();
$dir = dirname(__FILE__);
@ -138,8 +138,9 @@ if (isset($_COOKIE['uname']) && isset($_COOKIE['token'])) {
<script type="text/javascript" src="./assets/js/utils.js"></script>
<script type="text/javascript" src="./assets/js/index.utils.js"></script>
<script><?php echo Option::get('custom_js'); ?></script>
<?php if ($msg = Utils::getValue('msg', $_GET)): ?>
<script type="text/javascript"> showAlert("<?php echo $msg; ?>"); </script>
<?php if (isset($_GET['msg'])): ?>
<script type="text/javascript"> showAlert("<?php echo $_GET['msg']; ?>"); </script>
<?php endif; ?>
</body>
</html>