aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-02 14:06:36 -0800
committerfriendica <info@friendica.com>2014-02-02 14:06:36 -0800
commitb39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a (patch)
tree82066f5407951174261e61668341f0a6a674341b /mod
parente83419b53e27078867f8449f476d87b064b9d502 (diff)
downloadvolse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.tar.gz
volse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.tar.bz2
volse-hubzilla-b39c0d54c07c1a89aa1e4ecaef134b96e4ed4b8a.zip
some windows fixes
Diffstat (limited to 'mod')
-rwxr-xr-xmod/setup.php5
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 = "";