-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.php
More file actions
46 lines (33 loc) · 1.01 KB
/
Copy pathconfig.php
File metadata and controls
46 lines (33 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
// Caminho para a raiz
define( 'ABSPATH', dirname( __FILE__ ) );
// Caminho para a pasta de uploads
define( 'UP_ABSPATH', ABSPATH . '/views/_uploads' );
// URL da home
define( 'HOME_URL', 'http://localhost' );
// URL API
//define( 'API_URL', 'http://192.168.88.254:4000/' ); // live
define( 'API_URL', 'http://127.0.0.1:5000/' ); // local debug
// Nome do host da base de dados
/*define( 'HOSTNAME', 'localhost' );
// Porta do host da base de dados
define( 'HOSTPORT', '3306' );
// Nome do DB
define( 'DB_NAME', 'ptm' );
// Utilizador do DB
define( 'DB_USER', 'root' );
// Senha do DB
define( 'DB_PASSWORD', '' );
// Charset da conexão PDO
define( 'DB_CHARSET', 'utf8' );*/
//PHPMailer
define ('SMTP_SECURE', 'true' );
define ('SMTP_USER', 'noreply@adoteumaarvore.pt' );
define ('SMTP_PASS', 'HesB#?c:pU6m93#b' );
define('SMTP_PORT', 465);
define('SMTP_CHARSET', 'UTF-8');
define('SMTP_HOST', 'mail.adoteumaarvore.pt');
// DEBUG MODE
define( 'DEBUG', true );
// Carrega o loader
require_once ABSPATH . '/init.php';