다국어 캐쉬 생성 오류 수정

This commit is contained in:
SMaker 2013-11-25 14:18:14 +09:00
parent de30ecfb39
commit 6a0c6bbf95

View file

@ -899,7 +899,7 @@ class moduleAdminController extends module
$str = "<?php if(!defined('__XE__')) exit(); \r\n";
foreach($langMap[$langCode] as $code => $value)
{
$str = sprintf('$lang[\'%s\'] = \'%s\';', $code, addcslashes($value, "'"));
$str .= sprintf('$lang[\'%s\'] = \'%s\';', $code, addcslashes($value, "'"));
}
if (!@file_put_contents(sprintf('%s/%d.%s.php', $cache_path, $args->site_srl, $langCode), $str, LOCK_EX))
{