require_once( 'AjaxFunctions.php' );
if ( ! $wgUseAjax ) {
- die ( -1 );
+ die( 1 );
}
class AjaxDispatcher {
<?php
if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
+ die( 1 );
require_once('WebRequest.php');
*/
if( !defined( 'MEDIAWIKI' ) )
- die( -1 );
+ die( 1 );
/**
* @package MediaWiki
# 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 );
}
/**
<?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
*/
if( php_sapi_name() != 'cli' ) {
- die( -1 );
+ die( 1 );
}
/**