-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
53 lines (37 loc) · 1.35 KB
/
config.php
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
46
47
48
49
50
51
52
53
<?php
date_default_timezone_set("America/Campo_Grande");
##################################
# CONFIGURAÇÕES DO SGBD
##################################
# servidor do SGBD:
Config::set('db_host', 'localhost');
# usuario do SGBD:
Config::set('db_user', 'root');
# senha do SGBD:
Config::set('db_password', '');
# nome do banco de dados:
Config::set('db_name', '');
# MODO DE DEPURAÇÃO
# desenvolvimento: true
# produção: false
Config::set('debug', true);
# TEMPLATE PADRÃO
# Config::set('template', 'default');
Config::set('template', 'default');
# Chave da aplicação, para controle de sessões e criptografia
# Utilize uma cadeia alfanumérica aleatória única
Config::set('key', 'bF3mMstKyG96AhBfGjfubQRR7W5Mrpnwarzq7GWufVyfZwrzttmAnP75wqvHGSzX');
# SALT - Utilizada na criptografia
# Utiliza uma chave alfa-numéria complexa de no mínimo 16 dígitos
Config::set('salt', 'TjcqT8jgR8H6v6vhJhBcdZmCvnZs4Ghs9JcvW48gCqUTtVEkcK5hYLpsw6As8AbU');
# Define a linguagem do Sistema
Config::set('lang', 'pt_br');
# Regra de Reescrita (URLs Amigáveis)
Config::set('rewriteURL', true);
# Controller principal
Config::set('indexController', 'Index');
# Action principal
Config::set('indexAction', 'index');
# Parametros que devem ser Criptografados
# ex: Config::set('criptedGetParamns', array('id','codigo','telefone'))
Config::set('criptedGetParamns', array());