git-svn-id: http://xe-core.googlecode.com/svn/trunk@906 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-02 10:04:31 +00:00
parent f44ce411f2
commit 7b70b78379
6 changed files with 80 additions and 12 deletions

View file

@ -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);
}