Commit 738f929a authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Exemple de configuration pour le OscarLive

parent 2a4f8e03
Loading
Loading
Loading
Loading
+8 −0
Changes for config/autoload/local.php.dist: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php
$socket = false;
if( file_exists($pathSocketConfig = __DIR__.'/../../socket/config.json') ){
    $socket = json_decode(file_get_contents($pathSocketConfig), true);
}

return array(
    'view_manager' => array(
        'display_not_found_reason' => getenv('APPLICATION_ENV') == 'development',
@@ -7,6 +12,9 @@ return array(

    // Oscar
    'oscar' => [
        // Oscar Live
        'socket' => $socket['socket'],

        ////////////////////////////////////////////////////////////////////////
        //
        // PATHS