forked from Farzoqe/UserBobSample
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotices.php
More file actions
20 lines (18 loc) · 727 Bytes
/
notices.php
File metadata and controls
20 lines (18 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
include_once './autoload.php';
$notices = [];
if (UserBob\config::getApiKey() == '<USERBOB_API_KEY>') {
$notices[] = 'Please set UserBob API Key in file: userbob/config.php';
}
if (UserBob\config::getClientId() == '<USERBOB_CLIENT_ID>') {
$notices[] = 'Please set UserBob client id in file: userbob/config.php';
}
if (\Database\config::getDatabase() == '<DB_NAME>') {
$notices[] = 'Please set database name in file: database/config.php';
}
if (\Database\config::getUser() == '<DB_USERNAME>') {
$notices[] = 'Please set database user in file: database/config.php';
}
if (\Database\config::getPassword() == '<DB_PASSWORD>') {
$notices[] = 'Please set database password in file: database/config.php';
}