Commit 90992896 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Déplacement du define('APPLICATION_DIR', ...) au bon endroit (i.e. pour que...

Déplacement du define('APPLICATION_DIR', ...) au bon endroit (i.e. pour que les commandes cli Doctrine fonctionnent) : dans config/application.config.php
parent 8bee6bc0
Loading
Loading
Loading
Loading
+4 −0
Changes for config/application.config.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

if (!defined('APPLICATION_DIR')) {
    define('APPLICATION_DIR', realpath(__DIR__ . '/..'));
}

return [
    'modules' => [
        'DoctrineModule',
+0 −4
Changes for public/index.php: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
<?php

if (!defined('APPLICATION_DIR')) {
    define('APPLICATION_DIR', realpath(__DIR__ . '/../'));
}

define('REQUEST_MICROTIME', microtime(true));

/**