Changeset 14422
- Timestamp:
- 01/02/09 08:24:21 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/dwhittle/1.0/lib/controller/sfController.class.php
r9949 r14422 270 270 if (sfConfig::get('sf_i18n')) 271 271 { 272 $this->context->getI18N()->setMessageSourceDir(sfLoader::getI18NDir($moduleName), $this->context->getUser()->getCulture()); 272 if (sfLoader::getI18NDir($moduleName)) 273 { 274 $this->context->getI18N()->setMessageSourceDir(sfLoader::getI18NDir($moduleName), $this->context->getUser()->getCulture()); 275 } 276 else 277 { 278 $this->context->getI18N()->setMessageSourceDir(sfConfig::get('sf_app_i18n_dir'), $this->context->getUser()->getCulture()); 279 } 273 280 } 274 281 branches/dwhittle/1.2/lib/task/project/sfProjectFreezeTask.class.php
r13292 r14422 37 37 the current project: 38 38 39 [./symfony project:freeze|INFO] 39 [./symfony project:freeze /path/to/symfony/data/directory|INFO] 40 41 The task takes a mandatory argument of the path to the symfony data 42 directory. 40 43 41 44 The task also changes [config/config.php|COMMENT] to switch to the

