diff options
author | friendica <info@friendica.com> | 2014-02-02 14:06:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-02 14:06:36 -0800 |
commit | b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a (patch) | |
tree | 82066f5407951174261e61668341f0a6a674341b /mod | |
parent | e83419b53e27078867f8449f476d87b064b9d502 (diff) | |
download | volse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.tar.gz volse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.tar.bz2 volse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.zip |
some windows fixes
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/setup.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/setup.php b/mod/setup.php index ca5566578..14572699e 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -373,7 +373,10 @@ function check_php(&$phpath, &$checks) { if (strlen($phpath)){ $passed = file_exists($phpath); } else { - $phpath = trim(shell_exec('which php')); + if(is_windows()) + $phpath = trim(shell_exec('where php')); + else + $phpath = trim(shell_exec('which php')); $passed = strlen($phpath); } $help = ""; |