From: Tim Starling Date: Wed, 7 Jun 2006 04:15:58 +0000 (+0000) Subject: Valid exit status codes range from 0 to 254. X-Git-Tag: 1.31.0-rc.0~56855 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=0a0e28e82b7633cc2827995d9eaa64aeddd833a7;p=lhc%2Fweb%2Fwiklou.git Valid exit status codes range from 0 to 254. --- diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index ae0d3e3470..2084c3667a 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -16,7 +16,7 @@ require_once( 'AjaxFunctions.php' ); if ( ! $wgUseAjax ) { - die ( -1 ); + die( 1 ); } class AjaxDispatcher { diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php index 3580a293c5..73af03ce22 100644 --- a/includes/AjaxFunctions.php +++ b/includes/AjaxFunctions.php @@ -1,7 +1,7 @@