mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Move libraries in /includes to /lib (#4217)
This commit is contained in:
committed by
Neil Lathwood
parent
8973a78664
commit
15b0cd68ea
@@ -39,10 +39,10 @@ $config['install_dir'] = realpath(__DIR__ . '/..');
|
||||
// initialize the class loader and add custom mappings
|
||||
require_once $config['install_dir'] . '/LibreNMS/ClassLoader.php';
|
||||
$classLoader = new LibreNMS\ClassLoader();
|
||||
$classLoader->registerClass('Console_Color2', $config['install_dir'] . '/includes/console_colour.php');
|
||||
$classLoader->registerClass('Console_Table', $config['install_dir'] . '/includes/console_table.php');
|
||||
$classLoader->registerClass('PHPMailer', $config['install_dir'] . "/includes/phpmailer/class.phpmailer.php");
|
||||
$classLoader->registerClass('SMTP', $config['install_dir'] . "/includes/phpmailer/class.smtp.php");
|
||||
$classLoader->registerClass('Console_Color2', $config['install_dir'] . '/lib/console_colour.php');
|
||||
$classLoader->registerClass('Console_Table', $config['install_dir'] . '/lib/console_table.php');
|
||||
$classLoader->registerClass('PHPMailer', $config['install_dir'] . "/lib/phpmailer/class.phpmailer.php");
|
||||
$classLoader->registerClass('SMTP', $config['install_dir'] . "/lib/phpmailer/class.smtp.php");
|
||||
$classLoader->registerClass('PasswordHash', $config['install_dir'] . '/html/lib/PasswordHash.php');
|
||||
$classLoader->register();
|
||||
|
||||
|
Reference in New Issue
Block a user