diff options
author | Friendika <info@friendika.com> | 2010-11-18 15:57:09 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-18 15:57:09 -0800 |
commit | 75248512cc5b208a92588f0520b37b5fc7003be9 (patch) | |
tree | fdf4a0183adbb1a4353560d191bfa6b90906bb6b /mod/install.php | |
parent | 0c7ae3aeee155425c0e2928ae67df76a7d1fe61e (diff) | |
download | volse-hubzilla-75248512cc5b208a92588f0520b37b5fc7003be9.tar.gz volse-hubzilla-75248512cc5b208a92588f0520b37b5fc7003be9.tar.bz2 volse-hubzilla-75248512cc5b208a92588f0520b37b5fc7003be9.zip |
more pre-install checking
Diffstat (limited to 'mod/install.php')
-rw-r--r-- | mod/install.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/install.php b/mod/install.php index 86edc4c28..7f150ef1d 100644 --- a/mod/install.php +++ b/mod/install.php @@ -122,6 +122,8 @@ function check_php(&$phpath) { } function check_funcs() { + if((function_exists('apache_get_modules')) && (! in_array('mod_rewrite',apache_get_modules()))) + notice( t('Error: Apache webserver mod-rewrite module is required but not installed.') . EOL); if(! function_exists('curl_init')) notice( t('Error: libCURL PHP module required but not installed.') . EOL); if(! function_exists('imagecreatefromjpeg')) @@ -130,6 +132,8 @@ function check_funcs() { notice( t('Error: openssl PHP module required but not installed.') . EOL); if(! function_exists('mysqli_connect')) notice( t('Error: mysqli PHP module required but not installed.') . EOL); + if((x($_SESSION,'sysmsg')) && strlen($_SESSION['sysmsg'])) + notice( t('Please see the file "INSTALL".') . EOL); } |