diff options
author | Nathan Kinkade <nath@nkinka.de> | 2013-03-19 16:41:42 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2013-03-19 16:41:42 +0000 |
commit | 3908e37d965fa76ea774e76ddf42365a872a5f27 (patch) | |
tree | 457e1a1e465f83855eee96ba287cd91f1623395c /index.php | |
parent | 711651f727e093cc7357a6bbff6bd992fd6dfd80 (diff) | |
parent | 1eab94f6062b5f54ea5d9db01d968e7195f3de9d (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -29,13 +29,6 @@ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { exit("Gallery is not supported on Windows (PHP reports that you're using: " . PHP_OS . ")"); } -// Gallery doesn't use Zend Guard code obfuscation, and Kohana 2.4 will not work if level is 3+. -if (function_exists("zend_current_obfuscation_level") && (zend_current_obfuscation_level() >= 3)) { - exit("Gallery doesn't use Zend Guard code obfuscation, and is incompatible if it's running " . - "with a level of 3 or higher. For Gallery to run, please edit your main php.ini file and " . - "change/add the following line: 'zend_loader.obfuscation_level_support = 2'"); -} - // PHP 5.4 requires a timezone - if one isn't set date functions aren't going to work properly. // We'll log this once the logging system is initialized (in the gallery_event::gallery_ready). if (!ini_get("date.timezone")) { @@ -100,7 +93,7 @@ if (PHP_SAPI == "cli") { default: print "To install:\n"; - print " php index.php install -d database -h host -u user -p password -x table_prefix \n\n"; + print " php index.php install -d database -h host -u user -p password -x table_prefix -g3p gallery3_admin_password \n\n"; print "To upgrade:\n"; print " php index.php upgrade\n\n"; print "Developer-only features:\n"; |