repositories
/
Project_webapp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Properly separate the HTTP GET requests from the POST requests
[Project_webapp.git]
/
config.php
1
<
?php
2
3
return array
(
4
'host'
=>
'localhost'
,
5
'username'
=>
'fraggle'
,
6
'password'
=>
'
$Love79
!'
,
7
'database'
=>
'bdVols'
,
8
'actions'
=>
array
(
9
'home'
,
10
'login'
,
11
'register'
,
12
'booking'
,
13
'search'
,
14
'account'
15
)
16
);
17
18
/* return array(
19
'host' => $_SERVER['dbHost'],
20
'username' => $_SERVER['dbLogin'],
21
'password' => $_SERVER['dbPass'],
22
'database' => '$_SERVER['dbBd']'
23
); */
24
25
?
>