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
Hide tests from web. Probably harmless, but safer to keep it out.
[lhc/web/wiklou.git]
/
tests
/
RunTests.php
diff --git
a/tests/RunTests.php
b/tests/RunTests.php
index
987b1ed
..
6011ee8
100644
(file)
--- a/
tests/RunTests.php
+++ b/
tests/RunTests.php
@@
-1,4
+1,9
@@
<?php
+
+if( php_sapi_name() != 'cli' ) {
+ die( 'Must be run from the command line.' );
+}
+
error_reporting( E_ALL );
define( "MEDIAWIKI", true );