time() + 60*60*24*7, 'path' => '/', 'domain' => NULL, 'secure' => FALSE, 'httponly' => FALSE, 'samesite' => 'Lax' ) ); } function CRIMSON_init_hook(): void { //date_default_timezone_set('America/New_York'); XSSBOOK_begin_session(); } function CRIMSON_pre_route_hook(Router $router): void { } function CRIMSON_error_hook(?array $req, int $code): never { $error_controller = ROUTER->load_controller('error'); $error_controller->code($code); CRIMSON_DIE(); }