From 63aa0f78f14e1ee00110242c63955ed7b1a4e823 Mon Sep 17 00:00:00 2001 From: sakamocchi Date: Thu, 23 Feb 2012 21:13:59 +0900 Subject: [PATCH 1/1] FIX: if the config.php is not update, the$DIR_LOCALE is $DIR_LIBS . locales/ --- nucleus/libs/globalfunctions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } /* -- 2.11.0