Commit graph

7 commits

Author SHA1 Message Date
Alexandre Emsenhuber
afd8ac8fb7 Improve documentation of maintenance scripts.
Change-Id: I768abad1ad4642263519d39c50c88437aed47e15
2012-09-07 22:03:56 +02:00
Daniel Friesen
ccbf3af00b Followup ac8b7d54f8 fix broken php detection
Change-Id: Id78f14c220bbaa21b78c0c669a324f6169b3109d
2012-08-05 22:56:16 -07:00
Platonides
ac8b7d54f8 Improve detection of php binary.
- Add php binary and a program which might
be set as $PHP.
- Check for the correct php version.

The break shell builtin is not too commonly used,
but should beperfectly safe to use, since it's specified by POSIX
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#break

Change-Id: Iefbe991426f0e9a7178363a30b613f57110e1953
2012-08-04 10:29:23 +02:00
Daniel Friesen
975acd11b2 Security paranoia, reject requests to router.php that aren't from the cli-server sapi. 2012-03-20 22:58:34 +00:00
Daniel Friesen
a776efbdfe Add missing delimiters to the regexp in maintenace/dev/'s router. 2012-02-15 19:33:13 +00:00
Daniel Friesen
c6a11daac9 Follow up r105821, as usual, commit the files I forgot to svn add 2011-12-11 19:49:16 +00:00
Daniel Friesen
856310a705 Follow up r102210:
- Update maintenance/dev/ to install php inside ~/.mediawiki/php instead of ~/.mwphp
- Tweak README a bit
- Move the router.php into an includes along with two helper .sh files to cut out some of the repetition
2011-12-11 19:45:15 +00:00