diff options
-rw-r--r-- | etc/inc/pfsense-utils.inc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index c0006cf..94eae9c 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -455,20 +455,6 @@ 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"); - fwrite($fd, $data); - fclose($fd); - } -} - /****f* pfsense-utils/get_carp_status * NAME * get_carp_status - Return whether CARP is enabled or disabled. |