summaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/patch-html_install.php
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2019-07-27 15:03:03 +0000
committerDan Langille <dvl@FreeBSD.org>2019-07-27 15:03:03 +0000
commit35b065ed34c17029f9d2caf8a57a73f87eb0591d (patch)
treecddbdd19acc369281498609985f31a2d38426f60 /net-mgmt/librenms/files/patch-html_install.php
parentsysutils/u-boot-firefly-rk3399: Bump portrevision as we now use miniloader (diff)
Upgrade to 1.53.1
release notes: 1.53.1 - https://github.com/librenms/librenms/releases/tag/1.53.1 1.53 - https://github.com/librenms/librenms/releases/tag/1.53 1.52 - https://github.com/librenms/librenms/releases/tag/1.52
Notes
Notes: svn path=/head/; revision=507461
Diffstat (limited to 'net-mgmt/librenms/files/patch-html_install.php')
-rw-r--r--net-mgmt/librenms/files/patch-html_install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/librenms/files/patch-html_install.php b/net-mgmt/librenms/files/patch-html_install.php
index 3ca726b33a53..200d32b5a495 100644
--- a/net-mgmt/librenms/files/patch-html_install.php
+++ b/net-mgmt/librenms/files/patch-html_install.php
@@ -9,7 +9,7 @@
### Locations - it is recommended to keep the default
#\$config\['install_dir'\] = "$install_dir";
-@@ -389,14 +389,14 @@ $config_file = <<<"EOD"
+@@ -392,14 +392,14 @@
# Update configuration
#\$config\['update_channel'\] = 'release'; # uncomment to follow the monthly release channel
@@ -17,7 +17,7 @@
+\$config\['update'\] = 0; # uncomment to completely disable updates
EOD;
- if (!file_exists("config.php")) {
+ if (!file_exists("{$librenms_dir}/config.php")) {
$conf = fopen("config.php", 'w');
if ($conf != false) {
if (fwrite($conf, "<?php\n") === false) {