aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/tftp/tftp.inc7
-rw-r--r--config/tftp/tftp.xml4
2 files changed, 8 insertions, 3 deletions
diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc
index ee65f52d..8649bc22 100644
--- a/config/tftp/tftp.inc
+++ b/config/tftp/tftp.inc
@@ -109,8 +109,13 @@ function php_install_command()
}
+ if (!is_dir('/usr/local/www/packages/')) {
+ // Create the packages directory
+ exec("mkdir /usr/local/www/packages/");
+ }
+
if (!is_dir('/usr/local/www/packages/tftp')) {
- // Create the directory
+ // Create the tftp directory
exec("mkdir /usr/local/www/packages/tftp");
}
diff --git a/config/tftp/tftp.xml b/config/tftp/tftp.xml
index cf7a2a98..343110f5 100644
--- a/config/tftp/tftp.xml
+++ b/config/tftp/tftp.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tftp Settings</name>
- <version>1.0.3</version>
+ <version>1.0.4</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
@@ -60,7 +60,7 @@
<tabs>
<tab>
<text>Files</text>
- <url>/tftp/tftp_files.php</url>
+ <url>/packages/tftp/tftp_files.php</url>
</tab>
</tabs>
<configpath>installedpackages->package->$packagename->configuration->tftp</configpath>