mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 03:22:10 +09:00
다국어 캐쉬 생성 오류 수정
This commit is contained in:
parent
de30ecfb39
commit
6a0c6bbf95
1 changed files with 1 additions and 1 deletions
|
|
@ -899,7 +899,7 @@ class moduleAdminController extends module
|
||||||
$str = "<?php if(!defined('__XE__')) exit(); \r\n";
|
$str = "<?php if(!defined('__XE__')) exit(); \r\n";
|
||||||
foreach($langMap[$langCode] as $code => $value)
|
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))
|
if (!@file_put_contents(sprintf('%s/%d.%s.php', $cache_path, $args->site_srl, $langCode), $str, LOCK_EX))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue