mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Fix styleci issues
This commit is contained in:
parent
8abf6ae9cb
commit
fd7d9f4715
|
@ -144,7 +144,7 @@ class Controller
|
|||
}
|
||||
|
||||
$this->_setCacheHeaders();
|
||||
|
||||
|
||||
// output JSON or HTML
|
||||
if ($this->_request->isJsonApiCall()) {
|
||||
header('Content-type: ' . Request::MIME_JSON);
|
||||
|
@ -179,9 +179,10 @@ class Controller
|
|||
setcookie('lang', $lang, 0, '', '', true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Turn off browser caching
|
||||
*
|
||||
*
|
||||
* @access private
|
||||
*/
|
||||
private function _setCacheHeaders()
|
||||
|
|
Loading…
Reference in New Issue
Block a user