Development

Changeset 2663

You must first sign up to be able to contribute.

Changeset 2663

Show
Ignore:
Timestamp:
11/13/06 11:56:37 (3 years ago)
Author:
fabien
Message:

added sf_culture routing default when setting culture (closes #1078)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/user/sfUser.class.php

    r2522 r2663  
    129129        $this->context->getI18N()->setCulture($culture); 
    130130      } 
     131 
     132      // add the culture in the routing default parameters 
     133      sfConfig::set('sf_routing_defaults', array_merge((array) sfConfig::get('sf_routing_defaults'), array('sf_culture' => $culture))); 
    131134    } 
    132135  } 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.