Commit 3157e7d8 authored by tufengqi's avatar tufengqi

fix constant

parent 662475bd
...@@ -138,9 +138,9 @@ ...@@ -138,9 +138,9 @@
<div class="cookie_table"> <div class="cookie_table">
<div class="notice_box"><span><?php <div class="notice_box"><span><?php
$version = ''; $version = '';
if (VERSION_VALUE) { if (!empty($GLOBALS['GLOBAL_VERSION_VALUE'])) {
$patt = "/(beta|ga|cookie)-([a-zA-Z0-9-]+)/"; $patt = "/(beta|ga|cookie)-([a-zA-Z0-9-]+)/";
if (preg_match($patt, VERSION_VALUE, $result)) { if (preg_match($patt, $GLOBALS['GLOBAL_VERSION_VALUE'], $result)) {
$type = $result[1]; $type = $result[1];
$version = $result[2]; $version = $result[2];
$type_desc = $type . '版本'; $type_desc = $type . '版本';
......
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