From: Chad Horohoe Date: Mon, 18 Oct 2010 22:37:44 +0000 (+0000) Subject: Followup r68760: add comment X-Git-Tag: 1.31.0-rc.0~34433 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=0138b0952be8afb622c5461795ccba1333d097c2;p=lhc%2Fweb%2Fwiklou.git Followup r68760: add comment --- diff --git a/includes/WebStart.php b/includes/WebStart.php index dee5d4b90c..4060c55c59 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -97,6 +97,7 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) { require_once( "$IP/includes/DefaultSettings.php" ); $callback = MW_CONFIG_CALLBACK; + # PHP 5.1 doesn't support "class::method" for call_user_func, so split it if ( strpos( $callback, '::' ) !== false ) { $callback = explode( '::', $callback, 2); } diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index 7547a498f4..bf51c2c3b1 100644 --- a/maintenance/doMaintenance.php +++ b/maintenance/doMaintenance.php @@ -67,6 +67,7 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) { require_once( "$IP/includes/DefaultSettings.php" ); $callback = MW_CONFIG_CALLBACK; + # PHP 5.1 doesn't support "class::method" for call_user_func, so split it if ( strpos( $callback, '::' ) !== false ) { $callback = explode( '::', $callback, 2); }