- Move settings, defaults and dbstructure to directory 'static' - Dynamic loading of config files (after the static loading) - Filter out '-sample.config.php' and '-sample.ini.php' files - Remove unnecessary ConfigFileManager - Move ConfigFileLoader to Utils - Add tests for multi-loading for INI, config and sample-filtering
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * A test local ini file
 | |
|  */
 | |
| 
 | |
| return <<<INI
 | |
| 
 | |
| [database]
 | |
| hostname = testhost
 | |
| username = testuser
 | |
| password = testpw
 | |
| database = testdb
 | |
| 
 | |
| [system]
 | |
| theme = frio
 | |
| 
 | |
| [config]
 | |
| admin_email = admin@test.it
 | |
| INI;
 |