Changeset 406 for veekun/trunk/lib/Vee/Controller/Root.pm
- Timestamp:
- 02/08/08 02:44:39 (2 years ago)
- Files:
-
- 1 modified
-
veekun/trunk/lib/Vee/Controller/Root.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/lib/Vee/Controller/Root.pm
r363 r406 49 49 $storage->debug(1); 50 50 51 if ($c->user) { $c->user->obj-> lastactive(time); $c->user->obj->update; }51 if ($c->user) { $c->user->obj->time_active(time); $c->user->obj->update; } 52 52 53 53 if ($c->flash and %{$c->flash}) { … … 97 97 eval { 98 98 $c->model('DBIC::ErrorLog')->create({ 99 time => time,100 user id => $c->user ? $c->user->obj->id : 0,101 ip => Vee::Utils::inet_aton($c->req->address),102 path => $c->req->path,103 method => $c->req->method,104 query => Dumper($c->req->params),105 error => join "\n", @{$c->error},99 time => time, 100 user_id => $c->user ? $c->user->obj->id : 0, 101 ip => Vee::Utils::inet_aton($c->req->address), 102 path => $c->req->path, 103 method => $c->req->method, 104 query => Dumper($c->req->params), 105 error => join "\n", @{$c->error}, 106 106 }); 107 107 };
