summaryrefslogtreecommitdiff
path: root/serialized/serialize.php
diff options
context:
space:
mode:
Diffstat (limited to 'serialized/serialize.php')
-rw-r--r--serialized/serialize.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/serialized/serialize.php b/serialized/serialize.php
index 09aec79e..766c1a51 100644
--- a/serialized/serialize.php
+++ b/serialized/serialize.php
@@ -24,7 +24,7 @@
if ( !defined( 'MEDIAWIKI' ) ) {
$wgNoDBParam = true;
$optionsWithArgs = array( 'o' );
- require_once( __DIR__ .'/../maintenance/commandLine.inc' );
+ require_once __DIR__ .'/../maintenance/commandLine.inc';
$stderr = fopen( 'php://stderr', 'w' );
if ( !isset( $args[0] ) ) {
@@ -65,7 +65,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
//----------------------------------------------------------------------------
function getVars( $_gv_filename ) {
- require( $_gv_filename );
+ require $_gv_filename;
$vars = get_defined_vars();
unset( $vars['_gv_filename'] );