mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: validate.php improvements (#6973)
Always output header (may be missing mysql data) Improve version display, now looks like '1.28-129-g74e6c3edf' <tag>-<commits since tag>-<shortag> Add mysqli to the list of required extensions, check extensions before init Add dbIsConnected() function, used to check if we have db in version_info() Do not die on IPv4 and IPv6 so validate can print errors. Move git checks so they are output together fix rrdtool 1.7.0 reports version as 1.7.01.7.0
This commit is contained in:
committed by
Neil Lathwood
parent
97828eceba
commit
1e77d4b3ea
+2
-2
@@ -34,8 +34,8 @@ $config['install_dir'] = $install_dir;
|
||||
chdir($install_dir);
|
||||
|
||||
if (!getenv('TRAVIS')) {
|
||||
require_once 'Net/IPv4.php';
|
||||
require_once 'Net/IPv6.php';
|
||||
include_once 'Net/IPv4.php';
|
||||
include_once 'Net/IPv6.php';
|
||||
}
|
||||
|
||||
# composer autoload
|
||||
|
||||
Reference in New Issue
Block a user