Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.
This repository was archived by the owner on Apr 1, 2019. It is now read-only.

Fix headers in ko 3.2 (for png only) #18

@phpclub

Description

@phpclub

/controller/captcha
public function action_index($group = 'default')
{
+ $this->response->headers('Content-Type' , 'image/png');
+ $this->response->headers('Cache-Control' , 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
+ $this->response->headers('Pragma' , 'no-cache');
+ $this->response->headers('Connection' , 'close');
Captcha::instance($group)->render(FALSE);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions