module.config.php #1

  • //
  • guest/
  • thomas_gray/
  • jambox/
  • main/
  • swarm/
  • module/
  • Imagick/
  • config/
  • module.config.php
  • View
  • Commits
  • Open Download .zip Download (1 KB)
<?php
/**
 * Perforce Swarm
 *
 * @copyright   2013 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */

return array(
    'router' => array(
        'routes' => array(
            'imagick' => array(
                'type' => 'Application\Router\Regex',
                'options' => array(
                    'regex'    => '/imagick?(/(?P<path>.*))?',
                    'spec'     => '/imagick/%path%',
                    'defaults' => array(
                        'controller' => 'Imagick\Controller\Index',
                        'action'     => 'index',
                        'path'       => null
                    ),
                ),
            ),
        ),
    ),
    'xhprof' => array(
        'ignored_routes' => array('imagick')
    ),
    'controllers' => array(
        'invokables' => array(
            'Imagick\Controller\Index' => 'Imagick\Controller\IndexController'
        ),
    ),
);
# Change User Description Committed
#1 18334 Liz Lam initial add of jambox