Changeset 809 for trunk/app/app_controller.php
- Timestamp:
- 10/11/08 22:19:40 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/app/app_controller.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/app_controller.php
r787 r809 16 16 public $components = array('Auth', 'Cookie', 'Session'); // set Security component later 17 17 18 public $helpers = array('Html', 'Form', 'Session'); 18 public $helpers = array('Html', 'Form', 'Session'); // 'Cache' 19 19 20 20 public function beforeFilter() 21 21 { 22 //$this->cacheAction = true; 23 22 24 //set locale (es or en by now) 23 25 $this->__setLocale(); … … 43 45 endif; 44 46 45 return true;47 return false; 46 48 } 47 49 … … 66 68 $this->Session->write('lang',$lang); 67 69 endif; */ 68 $lang = 'e n';70 $lang = 'es'; 69 71 $this->L10n->get($lang); 70 72 Configure::write('Config.language', $lang);
