Commit a39ba725 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Mise à niveau : suppression de code obsolète et maj du composer

parent 494b7160
Loading
Loading
Loading
Loading
+766 KiB (1.48 MiB)

File changed.

No diff preview for this file type.

+3 −2
Original line number Diff line number Diff line
@@ -2,7 +2,8 @@

$modules = [
    'Application',
    'ZfcBase', 'DoctrineModule', 'DoctrineORMModule', 'ZfcUser', 'ZfcUserDoctrineORM', 'BjyAuthorize',
    'ZfcBase', 'DoctrineModule', 'DoctrineORMModule', 'ZfcUser', 'ZfcUserDoctrineORM',
    'BjyAuthorize', 'AssetManager',
    'UnicaenApp', 'UnicaenAuth',
];

+0 −28
Original line number Diff line number Diff line
<?php
/**
 * UnicaenApp Global Configuration
 *
 * If you have a ./config/autoload/ directory set up for your project, 
 * drop this config file in it and change the values as you wish.
 */
$settings = array(
    /**
     * Informations concernant cette application
     */
    'app_infos' => array(
        'nom'     => "UnicaenSkeletonApplication",
        'desc'    => "Squelette d'application Unicaen ZF2",
        'version' => "0.0.1",
        'date'    => "19/04/2013",
        'contact' => array('mail' => "dsi.applications@unicaen.fr", /*'tel' => "01 02 03 04 05"*/),
        'mentionsLegales'        => "http://www.unicaen.fr/outils-portail-institutionnel/mentions-legales/",
        'informatiqueEtLibertes' => "http://www.unicaen.fr/outils-portail-institutionnel/informatique-et-libertes/",
    ),
);

/**
 * You do not need to edit below this line
 */
return array(
    'unicaen-app' => $settings,
);
 No newline at end of file
+0 −30
Original line number Diff line number Diff line
<?php
/**
 * UnicaenAuth Global Configuration
 *
 * If you have a ./config/autoload/ directory set up for your project, you can
 * drop this config file in it and change the values as you wish.
 */
$settings = array(
    /**
     * Flag indiquant si l'utilisateur authenitifié avec succès via l'annuaire LDAP doit
     * être enregistré/mis à jour dans la table des utilisateurs de l'appli.
     */
    'save_ldap_user_in_database' => false,
    /**
     * Enable registration
     * Allows users to register through the website.
     * Accepted values: boolean true or false
     */
    'enable_registration' => false,
);

/**
 * You do not need to edit below this line
 */
return array(
    'unicaen-auth' => $settings,
    'zfcuser'      => array(
        $k='enable_registration' => isset($settings[$k]) ? $settings[$k] : false,
    ),
);
 No newline at end of file
+0 −26
Original line number Diff line number Diff line
<?php

$settings = [
    'view-dirs'            => [getcwd() . '/code'],
    'template-dirs'        => [getcwd() . '/code/template'],
    'generator-output-dir' => '/tmp/UnicaenCode',
    'namespaces'           => [
        'services'  => [
            'Application\Service',
        ],
        'forms'     => [
            'Application\Form',
        ],
        'hydrators' => [
            'Application\Hydrator',
        ],
        'entities'  => [
            'Application\Entity\Db',
        ],
    ],
];


return [
    'unicaen-code' => $settings,
];
 No newline at end of file
Loading