Comment file_put_contents

This commit is contained in:
Scott Ullrich 2005-07-31 06:09:19 +00:00
parent 68631ce217
commit e7f2ea12dd

View File

@ -173,6 +173,12 @@ function return_filename_as_array($filename, $strip = array('#')) {
return $file;
}
/****f* pfsense-utils/file_put_contents
* NAME
* file_put_contents - Wrapper for file_put_contents if it doesn't exist
* RESULT
* none
******/
if(!function_exists("file_put_contents")) {
function file_put_contents($filename, $data) {
$fd = fopen($filename,"w");