Changeset 3

Show
Ignore:
Timestamp:
06/01/07 03:18:23 (20 months ago)
Author:
aarkerio
Message:

Friday

Location:
trunk/app
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/config

    • Property svn:ignore set to
      database.php
  • trunk/app/config/core.php

    r2 r3  
    4949 * 
    5050 */ 
    51     define('DEBUG', 1); 
     51    define('DEBUG', 0); 
    5252/** 
    5353 * Turn of caching checking wide. 
  • trunk/app/controllers/confirms_controller.php

    r1 r3  
    2929             $this->User = new User; 
    3030              
    31              $this->params['data']['User']['id']       = $data['Confirm']['user_id']; 
    32              $this->params['data']['User']['active']   = 1; 
     31             $this->data['User']['id']       = $data['Confirm']['user_id']; 
     32             $this->data['User']['active']   = 1; 
    3333              
    34              if ($this->User->save($this->params['data']) && $this->Confirm->delete($data['Confirm']['id'])) 
     34             if ($this->User->save($this->data) && $this->Confirm->delete($data['Confirm']['id'])) 
    3535             { 
    3636                 $this->flash('Your account have been actived', '/users/login');