You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
| <?php 
 | |
| // This file should not be read in a usual way!!
 | |
| echo 'do not open this file or the process will die';
 | |
| die();
 | |
| ?>
 | |
| 
 | |
| #########################################
 | |
| # 			Database api				#
 | |
| #########################################
 | |
| # connections	= "conn1, conn2, conn3"	#
 | |
| #########################################
 | |
| [ Database ]
 | |
| connections 	= "default"
 | |
| 
 | |
| #########################################
 | |
| # 	Database for connection default		#
 | |
| #########################################
 | |
| # class	= "\my\namespace\ClassName"		#
 | |
| # ... the rest is specific				#
 | |
| #########################################
 | |
| [ Database.default ]
 | |
| class 			= "\io\db\MySQLDatabase"
 | |
| host 			= "localhost"
 | |
| user 			= "animegame"
 | |
| password 		= "salut65++"
 | |
| schema 			= "test_ag"
 | |
| prefix 			= ""
 | |
| 
 | |
| #########################################
 | |
| # 			Logging api					#
 | |
| #########################################
 | |
| # connections	= "appender1, appender2	#
 | |
| #########################################
 | |
| [ Logging ]
 | |
| appenders 		= "appender1, appender2"
 | |
| 
 | |
| [ Logging.appender1 ]
 | |
| class			= "\io\log\FileAppender"
 | |
| level			= "INFO"
 | |
| file.output		= "/var/log/logging.log"
 | |
| file.size		= "5M"
 | |
| 
 | |
| [ Logging.appender1 ]
 | |
| class			= "\io\log\DatabaseAppender"
 | |
| level			= "INFO"
 | |
| db.table		= "logging"
 | |
| db.connection	= "default"
 | |
| 
 | |
| # there may be more to come
 | |
| 
 |