diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-09-25 22:40:15 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-09-25 22:40:15 -0400 |
commit | 7c1260e3bb024d43dc0943d30ed235a89a538b9e (patch) | |
tree | 2b44707e14184cd0cd3ef216bbd6a1e026bf48d2 /usr/local/www/system_firmware_restorefullbackup.php | |
parent | e70f748f35e7f9a4e68a24e9e38f488ab2b04175 (diff) | |
download | pfsense-7c1260e3bb024d43dc0943d30ed235a89a538b9e.zip pfsense-7c1260e3bb024d43dc0943d30ed235a89a538b9e.tar.gz |
Include functions first. Just saw a APC cache bug for getAllowedPages()
Diffstat (limited to 'usr/local/www/system_firmware_restorefullbackup.php')
-rwxr-xr-x | usr/local/www/system_firmware_restorefullbackup.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_restorefullbackup.php b/usr/local/www/system_firmware_restorefullbackup.php index a7ac446..8c2975c 100755 --- a/usr/local/www/system_firmware_restorefullbackup.php +++ b/usr/local/www/system_firmware_restorefullbackup.php @@ -50,8 +50,9 @@ ini_set('max_input_time', '0'); /* omit no-cache headers because it confuses IE with file downloads */ $omit_nocacheheaders = true; -require("guiconfig.inc"); + require_once("functions.inc"); +require("guiconfig.inc"); require_once("filter.inc"); require_once("shaper.inc"); @@ -135,7 +136,7 @@ include("head.inc"); echo format_bytes($size); echo "</td>"; echo "<td class='listr' width='10%' colspan='1'>"; - echo "<a onclick=\"return confirm('" . gettext("Do you really want to delete this item?") . "')\" href='system_firmware_restorefullbackup.php?deletefile=" . htmlspecialchars($arf) . "'>"; + echo "<a onclick=\"return confirm('" . gettext("Do you really want to delete this backup?") . "')\" href='system_firmware_restorefullbackup.php?deletefile=" . htmlspecialchars($arf) . "'>"; echo gettext("Delete"); echo "</td>"; echo "</tr>"; |