Index: trunk/phase3/maintenance/doMaintenance.php |
— | — | @@ -67,6 +67,7 @@ |
68 | 68 | require_once( "$IP/includes/DefaultSettings.php" ); |
69 | 69 | |
70 | 70 | $callback = MW_CONFIG_CALLBACK; |
| 71 | + # PHP 5.1 doesn't support "class::method" for call_user_func, so split it |
71 | 72 | if ( strpos( $callback, '::' ) !== false ) { |
72 | 73 | $callback = explode( '::', $callback, 2); |
73 | 74 | } |
Index: trunk/phase3/includes/WebStart.php |
— | — | @@ -97,6 +97,7 @@ |
98 | 98 | require_once( "$IP/includes/DefaultSettings.php" ); |
99 | 99 | |
100 | 100 | $callback = MW_CONFIG_CALLBACK; |
| 101 | + # PHP 5.1 doesn't support "class::method" for call_user_func, so split it |
101 | 102 | if ( strpos( $callback, '::' ) !== false ) { |
102 | 103 | $callback = explode( '::', $callback, 2); |
103 | 104 | } |