projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4bfc9a
)
Added check for the PCRE extension
author
Marcel Werk
<burntime@woltlab.com>
Thu, 30 May 2013 20:41:41 +0000
(22:41 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 30 May 2013 20:41:41 +0000
(22:41 +0200)
wcfsetup/test.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/test.php
b/wcfsetup/test.php
index 12f24bbcc1969dd61837d842d46bb4767913559c..93f40a7dedd1ab1a8fc406d1f4a3f6d4250ddd0e 100644
(file)
--- a/
wcfsetup/test.php
+++ b/
wcfsetup/test.php
@@
-86,6
+86,14
@@
else if (!extension_loaded('json')) {
<?php
}
+// check PCRE extension
+else if (!extension_loaded('pcre')) {
+ ?>
+ <p>The 'PCRE' PHP extension is missing. PCRE is required for a stable work of this software.<br />
+ Die 'PCRE' Erweiterung für PHP wurde nicht gefunden. Diese Erweiterung ist für den Betrieb der Software notwendig.</p>
+ <?php
+}
+
// check safemode
else if ((is_array($configArray) && !empty($configArray['safe_mode']['local_value'])) || @ini_get('safe_mode')) {
?>