mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Comment file_put_contents
This commit is contained in:
parent
68631ce217
commit
e7f2ea12dd
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user