Include functions first. Just saw a APC cache bug for getAllowedPages()

This commit is contained in:
Scott Ullrich 2011-09-25 22:40:15 -04:00
parent e70f748f35
commit 7c1260e3bb

View File

@ -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>";