[stable9] Add strict config check to config.js

This commit is contained in:
Lukas Reschke 2016-06-14 09:18:33 +02:00
parent b63482bd97
commit 6d559ff5cf
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@
*
*/
if(!\OC::$server->getRequest()->passesStrictCookieCheck()) {
die();
}
// Set the content type to Javascript
header("Content-type: text/javascript");