Permalink
Browse files

BUG Hardcoded project name in include_by_locale()

include_by_locale() should not use hardcoded default project name 'mysite' (fixes #7969).
  • Loading branch information...
1 parent 683f388 commit 55b611d99df27b90a0aa9e9c08356ebe1ff15e5e @uniun uniun committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 i18n/i18n.php
View
@@ -1956,7 +1956,7 @@ public static function include_by_locale($locale, $clean = false) {
// Sort modules by inclusion priority, then alphabetically
// TODO Should be handled by priority flags within modules
- $prios = array('sapphire' => 10, 'framework' => 10, 'admin' => 11, 'cms' => 12, 'mysite' => 90);
+ $prios = array('sapphire' => 10, 'framework' => 10, 'admin' => 11, 'cms' => 12, project() => 90);
$modules = SS_ClassLoader::instance()->getManifest()->getModules();
ksort($modules);
uksort(

0 comments on commit 55b611d

Please sign in to comment.