Projeto

Geral

Perfil

Expressolivremilestone46 » Histórico » Versão 5

Versão 4 (Mauricio Luiz Viani, 22/08/2022 10:14 h) → Versão 5/7 (Mauricio Luiz Viani, 29/08/2022 11:04 h)

{{collapse(Realizar em produção...)

* Incluir no header.inc.php: (#1141)

<pre>
/* Server Signature Expresso */
$GLOBALS['phpgw_info']['server']['generate_signature'] = 'https://ws.expresso.pr.gov.br/expresso-assinatura';

</pre>

* Remover do header.inc.php: (#1134)

<pre>
/* This is used to control mcrypt's use */

$GLOBALS['phpgw_info']['server']['mcrypt_enabled'] = {ENABLE_MCRYPT};

/* Set this to 'old' for versions < 2.4, otherwise the exact mcrypt version you use. */

$GLOBALS['phpgw_info']['server']['versions']['mcrypt'] = '{MCRYPT_VERSION}';
/*
** This is a random string used as the initialization vector for mcrypt
** feel free to change it when setting up eGrouWare on a clean database,
** but you must not change it after that point!
** It should be around 30 bytes in length.
*/
$GLOBALS['phpgw_info']['server']['mcrypt_iv'] = '{MCRYPT_IV}';
</pre>

* Modificar no header.inc.php: (#1155)

<pre>
/*
** This option forces login to be accepted only from /login.php
** Other attempts to login from outside Expresso will be blocked
**
** Whatch out: turn captcha = 1 when use_token_login = 1
*/
$GLOBALS['phpgw_info']['server']['use_token_login'] = {USE_TOKEN_LOGIN};
</pre>
}}