summaryrefslogtreecommitdiff
path: root/installer/installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-02-15 13:00:26 -0500
committerBharat Mediratta <bharat@menalto.com>2013-02-15 13:00:26 -0500
commit96a01c86d9bd15f9dc91c60be6f236deab2ffad9 (patch)
treedb06b9a5ab2b03a0475f536b9792435059f999e9 /installer/installer.php
parent16b8b8d16b8b46fe1e60b2a86f9ee5883dbc892f (diff)
parent5b6c138da1e53e93e4de8079885fcef29d12e673 (diff)
Merge branch 'master' into jquery_190
Diffstat (limited to 'installer/installer.php')
-rw-r--r--installer/installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/installer.php b/installer/installer.php
index 4ce80ee7..2b0f1452 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -243,6 +243,11 @@ class installer {
$errors[] = "Gallery cannot function when PHP is in <a href=\"http://php.net/manual/en/features.safe-mode.php\">Safe Mode</a>. Please disable safe mode.";
}
+ if (function_exists("zend_current_obfuscation_level") && (zend_current_obfuscation_level() >= 3)) {
+ $errors[] = "Gallery doesn't use <a href=\"http://www.zend.com/en/products/guard\">Zend Guard code obfuscation</a>, and is incompatible if it's running " .
+ "with a level of 3 or higher. Please edit your main php.ini file and change/add the following line: 'zend_loader.obfuscation_level_support = 2'";
+ }
+
return @$errors;
}