Commit 44d01086 authored by tufengqi's avatar tufengqi

兼容本地开发环境

parent 93317505
......@@ -89,7 +89,7 @@
<div class="notice_box"><span><?php
$version = '';
if (VERSION_VALUE) {
$patt = "/(file|cookie)-([a-zA-Z0-9]+)/";
$patt = "/(file|cookie)-([a-zA-Z0-9-]+)/";
if (preg_match($patt, VERSION_VALUE, $result)) {
$type = $result[1];
$version = $result[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment