mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 11:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@906 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f44ce411f2
commit
7b70b78379
6 changed files with 80 additions and 12 deletions
|
|
@ -27,7 +27,7 @@
|
|||
function writeFile($file_name, $buff, $mode = "w") {
|
||||
$mode = strtolower($mode);
|
||||
if($mode != "a") $mode = "w";
|
||||
if(@!$fp = fopen($file_name,$mode)) return;
|
||||
if(@!$fp = fopen($file_name,$mode)) return false;
|
||||
fwrite($fp, $buff);
|
||||
fclose($fp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue