anyone? On Monday, 22 October 2012 17:15:10 UTC+8, gimmebucks wrote: > > I'm using cake 2.2.2 and trying to set expires headers. > in my AppController.php > >> public function beforeRender(){ >> CakeResponse::expires(new DateTime('+5 day')); >> } > > > but i got this error > >> *Fatal error*: Call to undefined method >> CakeErrorController::_getUTCDate() in * >> F:\www\mail-us\lib\Cake\Network\CakeResponse.php* on line *858* > > > please help. > p/s : i'm trying this on individual action but got the same error. > >
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.