Changeset 242


Ignore:
Timestamp:
03/17/09 15:47:47 (3 years ago)
Author:
aarkerio
Message:

New files

Location:
trunk/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/controllers/entries_controller.php

    r231 r242  
    4747  $this->paginate['limit'] = 10; 
    4848  $data = $this->paginate('Entry'); 
    49   if (!$data): 
    50         $this->cakeError('error404', array(array('url'=>$this->name.'/'.$this->action))); 
    51   endif; 
     49 
    5250  $this->set(compact('data'));       
    5351 } 
  • trunk/controllers/users_controller.php

    r239 r242  
    8888  # $this->data['User']['passwd'] = md5($this->data['User']['passwd']); / 
    8989  $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']; 
    9092  $this->data['User']['group_id'] = (int) 0;   
    9193  if ($this->User->save($this->data)): 
Note: See TracChangeset for help on using the changeset viewer.