Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -7,7 +7,8 @@ |
8 | 8 | # Locations of core classes |
9 | 9 | # Extension classes are specified with $wgAutoloadClasses |
10 | 10 | # This array is a global instead of a static member of AutoLoader to work around a bug in APC |
11 | | -global $wgAutoloadLocalClasses = array( |
| 11 | +global $wgAutoloadLocalClasses; |
| 12 | +$wgAutoloadLocalClasses = array( |
12 | 13 | # Includes |
13 | 14 | 'AjaxDispatcher' => 'includes/AjaxDispatcher.php', |
14 | 15 | 'AjaxResponse' => 'includes/AjaxResponse.php', |
— | — | @@ -466,7 +467,7 @@ |
467 | 468 | |
468 | 469 | ); |
469 | 470 | |
470 | | -class AutoLoader |
| 471 | +class AutoLoader { |
471 | 472 | /** |
472 | 473 | * autoload - take a class name and attempt to load it |
473 | 474 | * |