OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438586c
)
MERGE: リビジョン1681をマージ
author
sakamocchi
<o-takashi@sakamocchi.jp>
Sun, 26 Feb 2012 08:53:12 +0000
(17:53 +0900)
committer
sakamocchi
<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
patch
|
blob
|
history
diff --git
a/nucleus/libs/globalfunctions.php
b/nucleus/libs/globalfunctions.php
index
dcbaa49
..
27c9ffe
100644
(file)
--- a/
nucleus/libs/globalfunctions.php
+++ b/
nucleus/libs/globalfunctions.php
@@
-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;
}