Added auto_include and renamed no_extension config parameter
This commit is contained in:
		
					parent
					
						
							
								f4a1c73705
							
						
					
				
			
			
				commit
				
					
						84d8b2792c
					
				
			
		
					 2 changed files with 18 additions and 6 deletions
				
			
		|  | @ -82,7 +82,8 @@ $api = new PHP_CRUD_API(array( | |||
| 	'input_sanitizer'=>function($cmd,$db,$tab,$col,$typ,$val) { return $val; }, | ||||
| 	'input_validator'=>function($cmd,$db,$tab,$col,$typ,$val,$ctx) { return true; }, | ||||
| // configurable options | ||||
| 	'no_extensions'=>false, | ||||
| 	'auto_include'=>true, | ||||
|     'extensions'=>true, | ||||
| // dependencies (added for unit testing): | ||||
| 	'db'=>null, | ||||
| 	'method'=>$_SERVER['REQUEST_METHOD'], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maurits van der Schee
				Maurits van der Schee