From b659f9d1705af8d54569dad4aafc2fd0fe18480a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 15 Jul 2009 10:35:25 +0000 Subject: [PATCH] fix for r53282: split() -> explode() the former is part of POSIX regex and is deprecated since PHP 5.3 --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 644dec7be0..40b86e587b 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -121,11 +121,11 @@ class OutputPage { if( $wgEnableScriptLoader ){ if( strpos( $path, $wgScript ) !== false ){ $reqPath = str_replace( $wgScript . '?', '', $path ); - $reqArgs = split( '&', $reqPath ); + $reqArgs = explode( '&', $reqPath ); $reqSet = array(); foreach( $reqArgs as $arg ){ - list( $key, $var ) = split( '=', $arg ); + list( $key, $var ) = explode( '=', $arg ); $reqSet[$key] = $var; } -- 2.20.1