aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-16 09:06:58 -0400
committerjim-p <jimp@pfsense.org>2011-05-16 09:06:58 -0400
commitf962ea26a7b039c5692c2fcb4848e5229d38ce09 (patch)
tree5abafe4bd2610328e20aea317db7d2ff35b4069c
parent86cfb9e1cc5339d93381f56409d65c2731a74cbc (diff)
downloadpfsense-packages-f962ea26a7b039c5692c2fcb4848e5229d38ce09.tar.gz
pfsense-packages-f962ea26a7b039c5692c2fcb4848e5229d38ce09.tar.bz2
pfsense-packages-f962ea26a7b039c5692c2fcb4848e5229d38ce09.zip
Fix paths on the 2.0 version of the tftpd package
-rw-r--r--config/tftp2/tftp_files.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/tftp2/tftp_files.php b/config/tftp2/tftp_files.php
index a55e92c6..bc2554ab 100644
--- a/config/tftp2/tftp_files.php
+++ b/config/tftp2/tftp_files.php
@@ -120,7 +120,7 @@ if ($savemsg) {
<?php
$tab_array = array();
- $tab_array[] = array(gettext("Files"), false, "/packages/tftp/tftp_files.php");
+ $tab_array[] = array(gettext("Files"), false, "tftp_files.php");
display_top_tabs($tab_array);
?>
@@ -178,9 +178,9 @@ if ($savemsg) {
echo "<br /><br />\n";
echo "</td>\n";
echo "<td width='20%' valign='middle' align='right'>\n";
- echo " <input type='button' value='backup' onclick=\"document.location.href='/packages/tftp/tftp_files.php?a=download&t=backup';\" />\n";
+ echo " <input type='button' value='backup' onclick=\"document.location.href='tftp_files.php?a=download&t=backup';\" />\n";
if (file_exists('/root/backup/tftp.bak.tgz')) {
- echo " <input type='button' value='restore' onclick=\"document.location.href='/packages/tftp/tftp_files.php?a=other&t=restore';\" />\n";
+ echo " <input type='button' value='restore' onclick=\"document.location.href='tftp_files.php?a=other&t=restore';\" />\n";
}
echo "</td>\n";
echo "</tr>\n";