summaryrefslogtreecommitdiff
path: root/config.php.example
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-05-28 19:17:52 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-05-28 19:17:52 +0200
commit74a8677e947ab86c73db4ed21ecc12b66d57e993 (patch)
tree4075ac71b1a8542cdb2802c7774389aa2ab2e161 /config.php.example
parentd12009cbd1e2ee3c25851f6771c9086ee14eb956 (diff)
Add a configuration example.
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example
new file mode 100644
index 0000000..aa0e003
--- /dev/null
+++ b/config.php.example
@@ -0,0 +1,22 @@
+<?php
+
+$config['contact']['name'] = 'Example Support';
+$config['contact']['mail'] = 'support@example.com';
+
+$config['frontpage']['title'] = 'Looking Glass';
+$config['frontpage']['image'] = 'logo.png';
+$config['frontpage']['disclaimer'] = 'This is a disclaimer!';
+
+$config['misc']['logs'] = '/var/log/looking-glass.log';
+
+$config['filters'][0] = '/(client1|client2)/';
+$config['filters'][1] = '/^NotToShow/';
+
+$config['routers']['router1']['host'] = 'r1.example.net';
+$config['routers']['router1']['user'] = 'readonlyuser';
+$config['routers']['router1']['pass'] = 'readonlypassword';
+$config['routers']['router1']['auth'] = 'ssh2-password';
+$config['routers']['router1']['type'] = 'junos';
+$config['routers']['router1']['desc'] = 'Example\'s Router 1';
+
+// End of config.php