dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix localization of time in Turkish"
[lhc/web/wiklou.git]
/
maintenance
/
dev
/
start.sh
diff --git
a/maintenance/dev/start.sh
b/maintenance/dev/start.sh
index
9736c8b
..
dd7363a
100755
(executable)
--- a/
maintenance/dev/start.sh
+++ b/
maintenance/dev/start.sh
@@
-1,12
+1,14
@@
#!/bin/bash
#!/bin/bash
-if [
[ "x$BASH_SOURCE" == "x" ]
]; then echo '$BASH_SOURCE not set'; exit 1; fi
+if [
"x$BASH_SOURCE" == "x"
]; then echo '$BASH_SOURCE not set'; exit 1; fi
DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
DEV=$(cd -P "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
+. "$DEV/includes/require-php.sh"
+
PORT=4881
echo "Starting up MediaWiki at http://localhost:$PORT/"
echo ""
PORT=4881
echo "Starting up MediaWiki at http://localhost:$PORT/"
echo ""
-cd
$DEV/../../
; # $IP
-$DEV/php/bin/php -S localhost:$PORT
+cd
"$DEV/../../"
; # $IP
+"$PHP" -S "localhost:$PORT" "$DEV/includes/router.php"