14 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# Check if server has support for loading udf's
							 | 
						||
| 
								 | 
							
								# i.e it will support dlopen
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								--source include/have_dynamic_loading.inc
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# Check if the variable EXAMPLE_PLUGIN is set
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								--require r/have_example_plugin.require
							 | 
						||
| 
								 | 
							
								disable_query_log;
							 | 
						||
| 
								 | 
							
								eval select LENGTH('$EXAMPLE_PLUGIN') > 0 as 'have_example_plugin';
							 | 
						||
| 
								 | 
							
								enable_query_log;
							 |