Development

Changeset 9283

You must first sign up to be able to contribute.

Changeset 9283

Show
Ignore:
Timestamp:
05/26/08 19:38:52 (3 months ago)
Author:
trivoallan
Message:

migrated to sf1.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/ddOpenIDPlugin/config/config.php

    r4863 r9283  
    33if (sfConfig::get('app_sfOpenIDPlugin_routes_register', true) && in_array('sfOpenIDAuth', sfConfig::get('sf_enabled_modules'))) 
    44{ 
    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 
    611 
    712  // preprend our routes 
    8    
     13 
    914  // openid_signin: 
    1015  //     url:  /openid 
    1116  //     param: { module: sfOpenIDAuth, action: signin } 
    12   //  
     17  // 
    1318  //   openid_finishauth: 
    1419  //     url: /openid/finish/* 
    1520  //     param: { module: sfOpenIDAuth, action: finish} 
    16    
     21 
    1722  $r->prependRoute('openid_signin', '/openid', array('module' => 'sfOpenIDAuth', 'action' => 'signin')); 
    1823  $r->prependRoute('openid_finishauth', '/openid/finish/*', array('module' => 'sfOpenIDAuth', 'action' => 'finish')); 
     24  */ 
    1925}