Created
May 10, 2015 21:42
-
-
Save laf/29180c36583e509a04c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/html/install.php b/html/install.php | |
index 09ff792..3b8e2ce 100644 | |
--- a/html/install.php | |
+++ b/html/install.php | |
@@ -422,6 +422,9 @@ EOD; | |
fwrite($conf,$config_file); | |
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("<pre><?php\n".stripslashes($config_file)."</pre>"); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment