summaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/patch-html_install.php
blob: f7fc46b65d0b76ed32eb4dde837939de42d3135b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- html/install.php.orig	2020-04-30 14:13:30 UTC
+++ html/install.php
@@ -418,14 +418,14 @@ if ($stage == 0) {
 
 # Update configuration
 #\$config\['update_channel'\] = 'release';  # uncomment to follow the monthly release channel
-#\$config\['update'\] = 0;  # uncomment to completely disable updates
+\$config\['update'\] = 0;  # uncomment to completely disable updates
 EOD;
 
     if (!file_exists("{$librenms_dir}/config.php")) {
         $conf = fopen("config.php", 'w');
         if ($conf != false) {
             if (fwrite($conf, "<?php\n") === false) {
-                echo("<div class='alert alert-danger'>We couldn't create the config.php file, please create this manually before continuing by copying the below into a config.php in the root directory of your install (typically /opt/librenms/)</div>");
+                echo("<div class='alert alert-danger'>We couldn't create the config.php file, please create this manually before continuing by copying the below into a config.php in the root directory of your install (typically /usr/local/www/librenms/)</div>");
                 echo("<pre>&lt;?php\n".stripslashes($config_file)."</pre>");
             } else {
                 $config_file = stripslashes($config_file);
@@ -433,7 +433,7 @@ EOD;
                 echo("<div class='alert alert-success'>The config file has been created</div>");
             }
         } else {
-            echo("<div class='alert alert-danger'>We couldn't create the config.php file, please create this manually before continuing by copying the below into a config.php in the root directory of your install (typically /opt/librenms/)</div>");
+            echo("<div class='alert alert-danger'>We couldn't create the config.php file, please create this manually before continuing by copying the below into a config.php in the root directory of your install (typically /usr/local/www/librenms/)</div>");
             echo("<pre>&lt;?php\n".stripslashes($config_file)."</pre>");
         }
     }