mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-06 08:25:19 -04:00
Fix styleci issues
This commit is contained in:
parent
8abf6ae9cb
commit
fd7d9f4715
1 changed files with 3 additions and 2 deletions
|
@ -144,7 +144,7 @@ class Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_setCacheHeaders();
|
$this->_setCacheHeaders();
|
||||||
|
|
||||||
// output JSON or HTML
|
// output JSON or HTML
|
||||||
if ($this->_request->isJsonApiCall()) {
|
if ($this->_request->isJsonApiCall()) {
|
||||||
header('Content-type: ' . Request::MIME_JSON);
|
header('Content-type: ' . Request::MIME_JSON);
|
||||||
|
@ -179,9 +179,10 @@ class Controller
|
||||||
setcookie('lang', $lang, 0, '', '', true);
|
setcookie('lang', $lang, 0, '', '', true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Turn off browser caching
|
* Turn off browser caching
|
||||||
*
|
*
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
private function _setCacheHeaders()
|
private function _setCacheHeaders()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue