소스 검색

Update README.md

Maurits van der Schee 10 년 전
부모
커밋
db170d48cb
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4
    3
      README.md

+ 4
- 3
README.md 파일 보기

@@ -51,17 +51,18 @@ These are all the configuration options and their default values:
51 51
 
52 52
 ```
53 53
 $api = new MySQL_CRUD_API(array(
54
+// these are normally configured
54 55
 	'username=>'root'
55 56
 	'password=>null,
56 57
 	'database:'',
57 58
 	'whitelist=>false,
58 59
 	'blacklist=>false,
59
-// for connectivity
60
+// for connectivity, leave out for localhost
60 61
 	'hostname'=>null,
61 62
 	'port=>null,
62 63
 	'socket=>null,
63
-// added for unit testing
64
-	'connect'=>true,
64
+// dependencies (added for unit testing)
65
+	'mysqli'=>null,
65 66
 	'method'=>$_SERVER['REQUEST_METHOD'],
66 67
 	'request'=>$_SERVER['PATH_INFO'],
67 68
 	'get'=>$_GET,

Loading…
취소
저장