Commit Graph

12 Commits

Author SHA1 Message Date
Tony Murray
b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
João Galaghar
dd345b679c Update notifications.inc.php 2016-01-23 23:45:34 +00:00
Rosiak
14ecef76e8 Changed.. 2016-01-11 14:13:16 +01:00
Rosiak
05734803df Fix missing slash if base_url set 2016-01-11 13:14:20 +01:00
laf
93b0886567 Added datetime to notifications + Fixed sticky/unsticky notifications disappearing 2016-01-10 22:22:13 +00:00
Rosiak
730588776e Correction 2016-01-09 00:28:58 +01:00
Rosiak
82a302e135 Fix 2709
#2709
2016-01-09 00:03:09 +01:00
laf
9fce58d872 Replace \n with <br /> 2015-12-04 09:50:51 +00:00
Daniel Preussker
224ccab950 Fixed adduser bug
Always show notification bubble
Added tooltip to archive's sticky button
2015-11-21 12:15:42 +00:00
Daniel Preussker
439cb14b49 Added tooltips 2015-11-21 11:23:02 +00:00
Daniel Preussker
0ff693bd0e Added notifications poller,page,schema,display 2015-11-21 11:22:59 +00:00