Browse Source

fixed whitespace

Maurits van der Schee 8 years ago
parent
commit
f7f86b5cb3
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      README.md

+ 4
- 4
README.md View File

58
 
58
 
59
 ```
59
 ```
60
 $api = new PHP_CRUD_API(array(
60
 $api = new PHP_CRUD_API(array(
61
-  'dbengine=>'MySQL',
62
-  'username=>'root',
61
+	'dbengine=>'MySQL',
62
+	'username=>'root',
63
 	'password=>null,
63
 	'password=>null,
64
 	'database=>false,
64
 	'database=>false,
65
 // for connectivity (defaults to localhost):
65
 // for connectivity (defaults to localhost):
75
 	'input_sanitizer'=>function($cmd,$db,$tab,$col,$typ,$val) { return $val; },
75
 	'input_sanitizer'=>function($cmd,$db,$tab,$col,$typ,$val) { return $val; },
76
 	'input_validator'=>function($cmd,$db,$tab,$col,$typ,$val,$ctx) { return true; },
76
 	'input_validator'=>function($cmd,$db,$tab,$col,$typ,$val,$ctx) { return true; },
77
 // dependencies (added for unit testing):
77
 // dependencies (added for unit testing):
78
-  'db'=>null,
79
-  'method'=>$_SERVER['REQUEST_METHOD'],
78
+	'db'=>null,
79
+	'method'=>$_SERVER['REQUEST_METHOD'],
80
 	'request'=>$_SERVER['PATH_INFO'],
80
 	'request'=>$_SERVER['PATH_INFO'],
81
 	'get'=>$_GET,
81
 	'get'=>$_GET,
82
 	'post'=>'php://input',
82
 	'post'=>'php://input',

Loading…
Cancel
Save