From 4cba0a5244ef33aee991022474aed5da5d37e86e Mon Sep 17 00:00:00 2001 From: lug-gh Date: Tue, 4 Sep 2018 15:04:42 +0200 Subject: [PATCH] Syntax error in documentation (#9145) just found a little syntax error in the docs, nothing special :) DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply `, i.e `./scripts/github-apply 9145` --- doc/Alerting/Old_Templates.md | 2 +- doc/Alerting/Templates.md | 2 +- doc/Extensions/Authentication.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Alerting/Old_Templates.md b/doc/Alerting/Old_Templates.md index 3928e15e40..e4913d561a 100644 --- a/doc/Alerting/Old_Templates.md +++ b/doc/Alerting/Old_Templates.md @@ -208,7 +208,7 @@ Note: To use HTML emails you must set HTML email to Yes in the WebUI under Globa Note: To include Graphs you must enable unauthorized graphs in config.php. Allow_unauth_graphs_cidr is optional, but more secure. ``` -$config['allow_unauth_graphs_cidr'] = array(127.0.0.1/32'); +$config['allow_unauth_graphs_cidr'] = array('127.0.0.1/32'); $config['allow_unauth_graphs'] = true; ``` diff --git a/doc/Alerting/Templates.md b/doc/Alerting/Templates.md index f46e592602..2b5654a7fb 100644 --- a/doc/Alerting/Templates.md +++ b/doc/Alerting/Templates.md @@ -246,7 +246,7 @@ Note: To use HTML emails you must set HTML email to Yes in the WebUI under Globa Note: To include Graphs you must enable unauthorized graphs in config.php. Allow_unauth_graphs_cidr is optional, but more secure. ``` -$config['allow_unauth_graphs_cidr'] = array(127.0.0.1/32'); +$config['allow_unauth_graphs_cidr'] = array('127.0.0.1/32'); $config['allow_unauth_graphs'] = true; ``` diff --git a/doc/Extensions/Authentication.md b/doc/Extensions/Authentication.md index 5213410d2f..3820eaaa82 100644 --- a/doc/Extensions/Authentication.md +++ b/doc/Extensions/Authentication.md @@ -274,7 +274,7 @@ $config['auth_ldap_cache_ttl'] = 300; ## View/embedded graphs without being logged into LibreNMS ```php -$config['allow_unauth_graphs_cidr'] = array(127.0.0.1/32'); +$config['allow_unauth_graphs_cidr'] = array('127.0.0.1/32'); $config['allow_unauth_graphs'] = true; ```