summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@su.local>2009-09-04 17:19:59 -0400
committerScott Ullrich <sullrich@su.local>2009-09-04 17:25:51 -0400
commit3dfd1523cc0e38158babe8be0aa5816c73896a7a (patch)
tree495ab68697f6099d101341b4e5c89b88ead38f66 /usr/local/www
parent5a439cb547c90c0b417df3d1ec7e21c158c65382 (diff)
downloadpfsense-3dfd1523cc0e38158babe8be0aa5816c73896a7a.zip
pfsense-3dfd1523cc0e38158babe8be0aa5816c73896a7a.tar.gz
Use unlink()
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_firmware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index b1a777d..2e68875 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -56,7 +56,7 @@ function file_is_for_platform($filename) {
return false;
$upgrade_is_for_platform = trim(file_get_contents("/tmp/etc/platform"));
if($g['platform'] == $upgrade_is_for_platform) {
- unlink_file("/tmp/etc/platform");
+ unlink("/tmp/etc/platform");
return true;
}
return false;
OpenPOWER on IntegriCloud