mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	* refactor: use the Config class includes/discovery * fix issue with $config variable not accessible in include-dir.inc.php * improved whitespace * Tidy up discovery_by_ip
		
			
				
	
	
		
			10 lines
		
	
	
		
			156 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			156 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| use LibreNMS\Config;
 | |
| 
 | |
| foreach (glob(Config::get('install_dir').'/'.$include_dir.'/*.inc.php') as $file) {
 | |
|     include $file;
 | |
| }
 | |
| 
 | |
| unset($include_dir);
 |