diff options
author | Simon <simon@kisikew.org> | 2012-05-24 16:30:22 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-05-24 16:30:22 -0700 |
commit | 5bc0cfa06724204f8de26508859b1b76636f77bd (patch) | |
tree | ccc8ea49461ffdba3870857ea13925370cdbe320 /mod | |
parent | e54b649c987d156225cb90dd79025fc44c2a646f (diff) | |
parent | 60df67b9e3717516191f39870a6e7b6db977fc06 (diff) | |
download | volse-hubzilla-5bc0cfa06724204f8de26508859b1b76636f77bd.tar.gz volse-hubzilla-5bc0cfa06724204f8de26508859b1b76636f77bd.tar.bz2 volse-hubzilla-5bc0cfa06724204f8de26508859b1b76636f77bd.zip |
Merge pull request #313 from fabrixxm/master
install wizard: fix php executable path
Diffstat (limited to 'mod')
-rw-r--r-- | mod/install.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/install.php b/mod/install.php index 1bdb792a9..6d6232a95 100644 --- a/mod/install.php +++ b/mod/install.php @@ -315,14 +315,16 @@ function check_php(&$phpath, &$checks) { $help = ""; if(!$passed) { $help .= t('Could not find a command line version of PHP in the web server PATH.'). EOL; + $help .= t("If you don't have a command line version of PHP installed on server, you will not be able to run background polling via cron. See <a href='http://friendica.com/node/27'>'Activating scheduled tasks'</a>") . EOL ; + $help .= EOL . EOL ; $tpl = get_markup_template('field_input.tpl'); $help .= replace_macros($tpl, array( - '$field' => array('phpath', t('PHP executable path'), $phpath, t('Enter full path to php executable')), + '$field' => array('phpath', t('PHP executable path'), $phpath, t('Enter full path to php executable. You can leave this blank to continue the installation.')), )); $phpath=""; } - check_add($checks, t('Command line PHP'), $passed, true, $help); + check_add($checks, t('Command line PHP').($passed?" (<tt>$phpath</tt>)":""), $passed, false, $help); if($passed) { $str = autoname(8); |