Overview
Comment:Ces fonctions ne sont pas utilisées
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 9d82c5edcb3c0ea4aa830bed0b8c4988302b8655
User & Date: bohwaz on 2019-02-15 15:14:09
Other Links: branch diff | manifest | tags
Context
2019-02-15
16:32
Renommer journal en mouvements check-in: 35af07a502 user: bohwaz tags: dev
15:14
Ces fonctions ne sont pas utilisées check-in: 9d82c5edcb user: bohwaz tags: dev
10:16
Suppression table rapprochement, intégration dans la table journal check-in: 9136b307ea user: bohwaz tags: dev
Changes

Modified src/include/init.php from [2707b697be] to [0f77762847].

300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
    Install::setLocalConfig('SECRET_KEY', $key);
    define('Garradin\SECRET_KEY', $key);
}

// Intégration du secret pour les tokens
Form::tokenSetSecret(SECRET_KEY);

// Fonctions utilitaires bien utiles d'avoir dans le namespace global de Garradin
function obj_has($obj, $pattern)
{
    return \KD2\Helpers::obj_has($obj, $pattern);
}

function obj_get($src, $pattern, $default = null)
{
    return \KD2\Helpers::obj_get($src, $pattern, $default);
}

/*
 * Vérifications pour enclencher le processus d'installation ou de mise à jour
 */

if (!defined('Garradin\INSTALL_PROCESS') && !defined('Garradin\UPGRADE_PROCESS'))
{
    if (!file_exists(DB_FILE))







<
<
<
<
<
<
<
<
<
<
<







300
301
302
303
304
305
306











307
308
309
310
311
312
313
    Install::setLocalConfig('SECRET_KEY', $key);
    define('Garradin\SECRET_KEY', $key);
}

// Intégration du secret pour les tokens
Form::tokenSetSecret(SECRET_KEY);












/*
 * Vérifications pour enclencher le processus d'installation ou de mise à jour
 */

if (!defined('Garradin\INSTALL_PROCESS') && !defined('Garradin\UPGRADE_PROCESS'))
{
    if (!file_exists(DB_FILE))