Development

/plugins/sfGuardPlugin/branches/1.0/config/config.php

You must first sign up to be able to contribute.

root/plugins/sfGuardPlugin/branches/1.0/config/config.php

Revision 7633, 0.5 kB (checked in by fabien, 4 months ago)

sfGuardPlugin: changed directory structure (trunk, branches, tags)

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 if (sfConfig::get('app_sf_guard_plugin_routes_register', true) && in_array('sfGuardAuth', sfConfig::get('sf_enabled_modules', array())))
4 {
5   $r = sfRouting::getInstance();
6
7   // preprend our routes
8   $r->prependRoute('sf_guard_signin', '/login', array('module' => 'sfGuardAuth', 'action' => 'signin'));
9   $r->prependRoute('sf_guard_signout', '/logout', array('module' => 'sfGuardAuth', 'action' => 'signout'));
10   $r->prependRoute('sf_guard_password', '/request_password', array('module' => 'sfGuardAuth', 'action' => 'password'));
11 }
12
Note: See TracBrowser for help on using the browser.