From: sakamocchi Date: Thu, 23 Feb 2012 12:13:59 +0000 (+0900) Subject: FIX: if the config.php is not update, the$DIR_LOCALE is $DIR_LIBS . X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=63aa0f78f14e1ee00110242c63955ed7b1a4e823;p=nucleus-jp%2Fnucleus-next.git FIX: if the config.php is not update, the$DIR_LOCALE is $DIR_LIBS . locales/ --- diff --git a/nucleus/libs/globalfunctions.php b/nucleus/libs/globalfunctions.php index 17a409e..89fce77 100644 --- a/nucleus/libs/globalfunctions.php +++ b/nucleus/libs/globalfunctions.php @@ -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; } /*