summaryrefslogtreecommitdiff
path: root/inc/infoutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r--inc/infoutils.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index 0dc7092ad..92607e4fa 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -77,7 +77,8 @@ function getVersionData(){
if($date) $version['date'] = $date;
}
}else{
- $version['date'] = 'unknown';
+ global $updateVersion;
+ $version['date'] = 'update version '.$updateVersion;
$version['type'] = 'snapshot?';
}
return $version;
@@ -176,10 +177,10 @@ function check(){
msg('mb_string extension not available - PHP only replacements will be used',0);
}
- if (!preg_match("/^.$/u", "ñ")) {
+ if (!UTF8_PREGSUPPORT) {
msg('PHP is missing UTF-8 support in Perl-Compatible Regular Expressions (PCRE)', -1);
}
- if (!preg_match("/^\pL$/u", "ñ")) {
+ if (!UTF8_PROPERTYSUPPORT) {
msg('PHP is missing Unicode properties support in Perl-Compatible Regular Expressions (PCRE)', -1);
}