Changeset 242
- Timestamp:
- 03/17/09 15:47:47 (3 years ago)
- Location:
- trunk/controllers
- Files:
-
- 2 edited
-
entries_controller.php (modified) (1 diff)
-
users_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/controllers/entries_controller.php
r231 r242 47 47 $this->paginate['limit'] = 10; 48 48 $data = $this->paginate('Entry'); 49 if (!$data): 50 $this->cakeError('error404', array(array('url'=>$this->name.'/'.$this->action))); 51 endif; 49 52 50 $this->set(compact('data')); 53 51 } -
trunk/controllers/users_controller.php
r239 r242 88 88 # $this->data['User']['passwd'] = md5($this->data['User']['passwd']); / 89 89 $this->data['User']['active'] = (int) 0; 90 $this->data['User']['quote'] = 'Esta es mi frase'; 91 $this->data['User']['name_blog']= 'El rincon de '.$this->data['User']['username']; 90 92 $this->data['User']['group_id'] = (int) 0; 91 93 if ($this->User->save($this->data)):
Note: See TracChangeset
for help on using the changeset viewer.
