Follow up r105821, as usual, commit the files I forgot to `svn add`
[lhc/web/wiklou.git] / maintenance / dev / includes / php.sh
1 # Include-able script to determine the location of our php if any
2
3 if [ -d "$DEV/php" -a -x "$DEV/php/bin/php" ]; then
4 # Quick local copy
5 PHP="$DEV/php/bin/php"
6 elif [ -d "$HOME/.mediawiki/php" -a -x "$HOME/.mediawiki/php/bin/php" ]; then
7 # Previous home directory location to install php in
8 PHP="$HOME/.mediawiki/php/bin/php"
9 elif [ -d "$HOME/.mwphp" -a -x "$HOME/.mwphp/bin/php" ]; then
10 # Previous home directory location to install php in
11 PHP="$HOME/.mwphp/bin/php"
12 fi