OSDN Git Service

FIX: if the config.php is not update, the$DIR_LOCALE is $DIR_LIBS .
authorsakamocchi <o-takashi@sakamocchi.jp>
Thu, 23 Feb 2012 12:13:59 +0000 (21:13 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Thu, 23 Feb 2012 12:13:59 +0000 (21:13 +0900)
locales/

nucleus/libs/globalfunctions.php

index 17a409e..89fce77 100644 (file)
@@ -42,7 +42,9 @@ else
  */
 if ( !isset($DIR_LOCALES) )
 {
-       $DIR_LOCALES = $DIR_LANG;
+       global $DIR_LANG;
+       $DIR_LOCALES = $DIR_NUCLEUS . 'locales/';
+       $DIR_LANG = $DIR_LOCALES;
 }
 
 /*