diff options
author | friendica <info@friendica.com> | 2014-03-23 15:48:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-23 15:48:08 -0700 |
commit | ba6765a40301a549f2fcbe5ddcf0dffd53e205fc (patch) | |
tree | f89efa4e9f5d8e202cd3e11afe47df814ce380c8 /mod | |
parent | b6b4ffa68d6deab233dcda06113a849ac78f8f84 (diff) | |
download | volse-hubzilla-ba6765a40301a549f2fcbe5ddcf0dffd53e205fc.tar.gz volse-hubzilla-ba6765a40301a549f2fcbe5ddcf0dffd53e205fc.tar.bz2 volse-hubzilla-ba6765a40301a549f2fcbe5ddcf0dffd53e205fc.zip |
report curl errors during install when they are most needed
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/setup.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/setup.php b/mod/setup.php index d12627e84..83317dc4c 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -103,6 +103,7 @@ function setup_post(&$a) { $test = z_fetch_url($siteurl."/setup/testrewrite"); if((! $test['success']) || ($test['body'] != 'ok')) { $a->data['url_fail'] = true; + $a->data['url_error'] = $test['error']; return; } } @@ -169,6 +170,8 @@ function setup_content(&$a) { if(x($a->data,'url_fail')) { $install_wizard_pass = 3; $wizard_status = t('Could not connect to specified site URL. Possible SSL certificate or DNS issue.'); + if($a->data['url_error']) + $wizard_status .= ' ' . $a->data['url_error']; } if(x($a->data,'db_create_failed')) { |