Localisation updates from http://translatewiki.net.
[mediawiki.git] / maintenance / dev / includes / php.sh
blob3021b93b17b0714bb5f40675216dd7ca7da19d92
1 # Include-able script to determine the location of our php if any
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"