OSDN Git Service

MERGE: リビジョン1681をマージ
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 26 Feb 2012 08:53:12 +0000 (17:53 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 26 Feb 2012 08:53:12 +0000 (17:53 +0900)
FIX: complete lower compatibility related to $DIR_LANG
http://nucleuscms.svn.sourceforge.net/viewvc/nucleuscms?view=revision&revision=1681

nucleus/libs/globalfunctions.php

index dcbaa49..27c9ffe 100644 (file)
@@ -42,8 +42,11 @@ else
  */
 if ( !isset($DIR_LOCALES) )
 {
-       global $DIR_LANG;
        $DIR_LOCALES = $DIR_NUCLEUS . 'locales/';
+}
+global $DIR_LANG;
+if ( !isset($DIR_LANG) )
+{
        $DIR_LANG = $DIR_LOCALES;
 }