Location: PHPKode > projects > Archetype > Archetype.2007.11.4-alpha/Archetype.2007.11.4-alpha/Archetype/settings/routes.inc.php
<?php if(!defined('A_VERSION')){die();}

   ////////////////////////////////////////////////////////////////////
   //                P R O J E C T A R C H E T Y P E                 //
   //                 www.fuzzywoodlandcreature.net                  //
   ////////////////////////////////////////////////////////////////////

/**
 * Routes config.  For specifying system routes and overwriting and
 * aliasing routes.  Applies only to controllers.
 *
 * @package Archetype
 * @subpackage config
 * @author Justin Krueger <hide@address.com>
 * @copyright © 2007 Justin Krueger.  All rights reserved.
 * @license http://www.opensource.org/licenses/mit-license.html MIT
 * @link http://fuzzywoodlandcreature.com/archetype
 * @version 2007.7.16
 */


// System routes
   $settings['system']['default']=  'system/welcome';
   $settings['system']['error']=    'system/error';
   $settings['system']['not_found']='system/not_found';
   $settings['system']['forbidden']='system/forbidden';

// Aliases / overwrites
   $settings['aliases']['/^router.*$/']=&$settings['system']['forbidden']; // We don't want people directly accessing the router controller
   $settings['aliases']['/^benchmark.*$/']=&$settings['system']['forbidden']; // Nor the benchmark controller
   $settings['aliases']['/^system.*$/']=&$settings['system']['forbidden']; // Nor the system controller
?>
Return current item: Archetype