Changeset 3
- Timestamp:
- 06/01/07 03:18:23 (20 months ago)
- Location:
- trunk/app
- Files:
-
- 3 modified
-
config (modified) (1 prop)
-
config/core.php (modified) (1 diff)
-
controllers/confirms_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config
-
Property
svn:ignore set
to
database.php
-
Property
svn:ignore set
to
-
trunk/app/config/core.php
r2 r3 49 49 * 50 50 */ 51 define('DEBUG', 1);51 define('DEBUG', 0); 52 52 /** 53 53 * Turn of caching checking wide. -
trunk/app/controllers/confirms_controller.php
r1 r3 29 29 $this->User = new User; 30 30 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; 33 33 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'])) 35 35 { 36 36 $this->flash('Your account have been actived', '/users/login');
