Skip to content

Instantly share code, notes, and snippets.

@carbolymer
Created July 26, 2010 09:14
Show Gist options
  • Save carbolymer/490345 to your computer and use it in GitHub Desktop.
Save carbolymer/490345 to your computer and use it in GitHub Desktop.
$vsn_config
['HttpRouter'] = array(
'subfolder' => '/',
'domain' => 'vsn.lc.carbolymer.pl',
'controller_folder' => &$this->core['controller_folder'],
'default_route' => 0,
'routes' => array(
array(
'pattern' => "/:controller,:action*",
'key' => array(),
'bind' => array(
'controller' => 'Index'
),
'parameter_processor' => function($aParameters)
{
return '?'.http_build_query($aParameters);
},
'string_parser' => function($sString){return null;}
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment