Changeset 9283
- Timestamp:
- 05/26/08 19:38:52 (3 months ago)
- Files:
-
- plugins/ddOpenIDPlugin/config/config.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/ddOpenIDPlugin/config/config.php
r4863 r9283 3 3 if (sfConfig::get('app_sfOpenIDPlugin_routes_register', true) && in_array('sfOpenIDAuth', sfConfig::get('sf_enabled_modules'))) 4 4 { 5 $r = sfRouting::getInstance(); 5 /* 6 * TODO : incompatible with sf-1.1. Throws "Uncaught exception 'sfException' with message 'The "default" context does not exist.'" 7 * 8 * $r = sfContext::getInstance()->getRouting(); 9 10 6 11 7 12 // preprend our routes 8 13 9 14 // openid_signin: 10 15 // url: /openid 11 16 // param: { module: sfOpenIDAuth, action: signin } 12 // 17 // 13 18 // openid_finishauth: 14 19 // url: /openid/finish/* 15 20 // param: { module: sfOpenIDAuth, action: finish} 16 21 17 22 $r->prependRoute('openid_signin', '/openid', array('module' => 'sfOpenIDAuth', 'action' => 'signin')); 18 23 $r->prependRoute('openid_finishauth', '/openid/finish/*', array('module' => 'sfOpenIDAuth', 'action' => 'finish')); 24 */ 19 25 }