diff options
Diffstat (limited to 'maintenance/language/langmemusage.php')
-rw-r--r-- | maintenance/language/langmemusage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/language/langmemusage.php b/maintenance/language/langmemusage.php index 974bb0d8..54b6a58c 100644 --- a/maintenance/language/langmemusage.php +++ b/maintenance/language/langmemusage.php @@ -18,7 +18,7 @@ $memlast = $memstart = memory_get_usage(); print 'Base memory usage: '.$memstart."\n"; foreach ( $langtool->getLanguages() as $langcode ) { - require_once( Language::getClassFileName( $langcode ) ); + Language::factory( $langcode ); $memstep = memory_get_usage(); printf( "%12s: %d\n", $langcode, ($memstep- $memlast) ); $memlast = $memstep; |