Valid exit status codes range from 0 to 254.
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 7 Jun 2006 04:15:58 +0000 (04:15 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 7 Jun 2006 04:15:58 +0000 (04:15 +0000)
includes/AjaxDispatcher.php
includes/AjaxFunctions.php
includes/CategoryPage.php
includes/DefaultSettings.php
includes/SkinTemplate.php
includes/proxy_check.php

index ae0d3e3..2084c36 100644 (file)
@@ -16,7 +16,7 @@
 require_once( 'AjaxFunctions.php' );
 
 if ( ! $wgUseAjax ) {
-       die ( -1 );
+       die1 );
 }
 
 class AjaxDispatcher {
index 3580a29..73af03c 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 if( !defined( 'MEDIAWIKI' ) )
-        die( -1 );
+        die( 1 );
 
 require_once('WebRequest.php');
 
index 400b2d1..790838f 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 if( !defined( 'MEDIAWIKI' ) )
-       die( -1 );
+       die( 1 );
 
 /**
  * @package MediaWiki
index 1b3e2d4..8872531 100644 (file)
@@ -21,7 +21,7 @@
 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
 if( !defined( 'MEDIAWIKI' ) ) {
        echo "This file is part of MediaWiki and is not a valid entry point\n";
-       die( -1 );
+       die( 1 );
 }
 
 /**
index f054153..1f77751 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 if ( ! defined( 'MEDIAWIKI' ) )
-       die( -1 );
+       die( 1 );
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 486da56..fb7fdb5 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 if( php_sapi_name() != 'cli' ) {
-       die( -1 );
+       die( 1 );
 }
 
 /**