mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
issue 3644, php5대응 file_put_contents 함수 적용
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13199 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f4c63ed3d
commit
d9f001266c
7 changed files with 17 additions and 49 deletions
|
|
@ -279,13 +279,15 @@ class pointAdminController extends point
|
|||
$output = executeQuery("point.initMemberPoint");
|
||||
if(!$output->toBool()) return $output;
|
||||
// Save the file temporarily
|
||||
$f = fopen("./files/cache/pointRecal.txt","w");
|
||||
|
||||
$str = '';
|
||||
foreach($member as $key => $val)
|
||||
{
|
||||
$val += (int)$config->signup_point;
|
||||
fwrite($f, $key.','.$val."\r\n");
|
||||
$str . = $key.','.$val."\r\n";
|
||||
}
|
||||
fclose($f);
|
||||
|
||||
@file_put_contents('./files/cache/pointRecal.txt', $str);
|
||||
|
||||
$this->add('total', count($member));
|
||||
$this->add('position', 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue