r14629 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14628‎ | r14629 | r14630 >
Date:04:15, 7 June 2006
Author:tstarling
Status:old
Tags:
Comment:
Valid exit status codes range from 0 to 254.
Modified paths:
  • /trunk/phase3/includes/AjaxDispatcher.php (modified) (history)
  • /trunk/phase3/includes/AjaxFunctions.php (modified) (history)
  • /trunk/phase3/includes/CategoryPage.php (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/SkinTemplate.php (modified) (history)
  • /trunk/phase3/includes/proxy_check.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/CategoryPage.php
@@ -7,7 +7,7 @@
88 */
99
1010 if( !defined( 'MEDIAWIKI' ) )
11 - die( -1 );
 11+ die( 1 );
1212
1313 /**
1414 * @package MediaWiki
Index: trunk/phase3/includes/AjaxDispatcher.php
@@ -16,7 +16,7 @@
1717 require_once( 'AjaxFunctions.php' );
1818
1919 if ( ! $wgUseAjax ) {
20 - die ( -1 );
 20+ die( 1 );
2121 }
2222
2323 class AjaxDispatcher {
Index: trunk/phase3/includes/proxy_check.php
@@ -5,7 +5,7 @@
66 */
77
88 if( php_sapi_name() != 'cli' ) {
9 - die( -1 );
 9+ die( 1 );
1010 }
1111
1212 /**
Index: trunk/phase3/includes/AjaxFunctions.php
@@ -1,7 +1,7 @@
22 <?php
33
44 if( !defined( 'MEDIAWIKI' ) )
5 - die( -1 );
 5+ die( 1 );
66
77 require_once('WebRequest.php');
88
Index: trunk/phase3/includes/SkinTemplate.php
@@ -1,6 +1,6 @@
22 <?php
33 if ( ! defined( 'MEDIAWIKI' ) )
4 - die( -1 );
 4+ die( 1 );
55
66 # This program is free software; you can redistribute it and/or modify
77 # it under the terms of the GNU General Public License as published by
Index: trunk/phase3/includes/DefaultSettings.php
@@ -21,7 +21,7 @@
2222 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
2323 if( !defined( 'MEDIAWIKI' ) ) {
2424 echo "This file is part of MediaWiki and is not a valid entry point\n";
25 - die( -1 );
 25+ die( 1 );
2626 }
2727
2828 /**

Status & tagging log