diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 19:51:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 19:51:13 -0400 |
commit | bb89e5d075422014ee02406d7b5d8e53d2ec3bec (patch) | |
tree | e68d3e9f3159264b9cf6beb54782fbee3563441f /usr/local/www/diag_logs_dhcp.php | |
parent | 783cdcaaa733a4415eeaea21309b0437602b3929 (diff) | |
download | pfsense-bb89e5d075422014ee02406d7b5d8e53d2ec3bec.zip pfsense-bb89e5d075422014ee02406d7b5d8e53d2ec3bec.tar.gz |
Use unlink()
Diffstat (limited to 'usr/local/www/diag_logs_dhcp.php')
-rwxr-xr-x | usr/local/www/diag_logs_dhcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php index 35989ba..71bd8a1 100755 --- a/usr/local/www/diag_logs_dhcp.php +++ b/usr/local/www/diag_logs_dhcp.php @@ -53,7 +53,7 @@ if ($_POST['clear']) { } else { exec("killall syslogd"); if(file_exists("{$dhcpd_logfile}")) - unlink_file("{$dhcpd_logfile}"); + unlink("{$dhcpd_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$dhcpd_logfile}"); } } |