Projeto

Geral

Perfil

Expressolivremilestone46 » Histórico » Versão 5

Mauricio Luiz Viani, 29/08/2022 11:04 h

1 1 Mauricio Luiz Viani
{{collapse(Realizar em produção...)
2 1 Mauricio Luiz Viani
3 4 Mauricio Luiz Viani
* Incluir no header.inc.php: (#1141)
4 1 Mauricio Luiz Viani
5 1 Mauricio Luiz Viani
<pre>
6 1 Mauricio Luiz Viani
/* Server Signature Expresso */
7 1 Mauricio Luiz Viani
$GLOBALS['phpgw_info']['server']['generate_signature'] = 'https://ws.expresso.pr.gov.br/expresso-assinatura';
8 1 Mauricio Luiz Viani
9 1 Mauricio Luiz Viani
</pre>
10 4 Mauricio Luiz Viani
11 4 Mauricio Luiz Viani
* Remover do header.inc.php: (#1134)
12 4 Mauricio Luiz Viani
13 4 Mauricio Luiz Viani
<pre>
14 4 Mauricio Luiz Viani
/* This is used to control mcrypt's use */
15 4 Mauricio Luiz Viani
16 4 Mauricio Luiz Viani
$GLOBALS['phpgw_info']['server']['mcrypt_enabled'] = {ENABLE_MCRYPT};
17 4 Mauricio Luiz Viani
18 4 Mauricio Luiz Viani
/* Set this to 'old' for versions < 2.4, otherwise the exact mcrypt version you use. */
19 4 Mauricio Luiz Viani
20 4 Mauricio Luiz Viani
$GLOBALS['phpgw_info']['server']['versions']['mcrypt'] = '{MCRYPT_VERSION}';
21 4 Mauricio Luiz Viani
/*
22 4 Mauricio Luiz Viani
** This is a random string used as the initialization vector for mcrypt
23 4 Mauricio Luiz Viani
** feel free to change it when setting up eGrouWare on a clean database,
24 4 Mauricio Luiz Viani
** but you must not change it after that point!
25 4 Mauricio Luiz Viani
** It should be around 30 bytes in length.
26 4 Mauricio Luiz Viani
*/
27 4 Mauricio Luiz Viani
$GLOBALS['phpgw_info']['server']['mcrypt_iv'] = '{MCRYPT_IV}';
28 4 Mauricio Luiz Viani
</pre>
29 4 Mauricio Luiz Viani
30 5 Mauricio Luiz Viani
* Modificar no header.inc.php: (#1155)
31 5 Mauricio Luiz Viani
32 5 Mauricio Luiz Viani
<pre>
33 5 Mauricio Luiz Viani
/*
34 5 Mauricio Luiz Viani
** This option forces login to be accepted only from /login.php
35 5 Mauricio Luiz Viani
** Other attempts to login from outside Expresso will be blocked
36 5 Mauricio Luiz Viani
**
37 5 Mauricio Luiz Viani
** Whatch out: turn captcha = 1 when use_token_login = 1
38 5 Mauricio Luiz Viani
*/
39 5 Mauricio Luiz Viani
$GLOBALS['phpgw_info']['server']['use_token_login'] = {USE_TOKEN_LOGIN};
40 5 Mauricio Luiz Viani
</pre>
41 1 Mauricio Luiz Viani
}}