* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index d6cc7fe..8c232d6 100644 (file)
@@ -20,7 +20,8 @@
 
 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
 if( !defined( 'MEDIAWIKI' ) ) {
-       die( "This file is part of MediaWiki and is not a valid entry point\n" );
+       echo "This file is part of MediaWiki and is not a valid entry point\n";
+       die( -1 );
 }
 
 /**