fix syntax errors

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13204 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
khongchi 2013-11-13 07:55:56 +00:00
parent 4bf61afddf
commit 0d643bac62
2 changed files with 2 additions and 2 deletions

View file

@ -894,7 +894,7 @@ class moduleAdminController extends module
$langMap[$langCode] += $langMap[$targetLangCode]; $langMap[$langCode] += $langMap[$targetLangCode];
} }
$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, "'"));

View file

@ -284,7 +284,7 @@ class pointAdminController extends point
foreach($member as $key => $val) foreach($member as $key => $val)
{ {
$val += (int)$config->signup_point; $val += (int)$config->signup_point;
$str . = $key.','.$val."\r\n"; $str .= $key.','.$val."\r\n";
} }
@file_put_contents('./files/cache/pointRecal.txt', $str); @file_put_contents('./files/cache/pointRecal.txt', $str);