dever %!s(int64=7) %!d(string=hai) anos
pai
achega
2ea9019b72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tm/lib/Controller/EventsController.class.php

+ 1 - 1
tm/lib/Controller/EventsController.class.php

@@ -495,7 +495,7 @@ class EventsController extends Controller {
 				$tokenid = Request::g('tokenId');
 			}
 			if ($tokenid) {
-				$_COOKIE['tokenid'] = $tokenid;
+				Cookie::set ( 'tokenid', $tokenid, 60 * 60 * 24 * 20 ,'.'.$_SERVER['HTTP_HOST']);
 			}
 			if ($tokenid) {
 				# app中已登陆