Layout
This commit is contained in:
parent
04e3a922d3
commit
72b40dd761
1 changed files with 2 additions and 2 deletions
|
|
@ -89,9 +89,9 @@ $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
|
||||
'allow_origin'=>'*',
|
||||
'allow_origin'=>'*',
|
||||
'auto_include'=>true,
|
||||
'extensions'=>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