Allow CSS and JS to load in private mode.

This commit is contained in:
flash 2020-06-08 03:54:49 +02:00 committed by GitHub
parent bd6af0a7c7
commit 373a2e4cce

View file

@ -17,6 +17,10 @@ final class AssetsHandler extends Handler {
],
];
public function __construct() {
$GLOBALS['misuzuBypassLockdown'] = true;
}
private static function recurse(string $dir): string {
$str = '';
$dir = rtrim(realpath($dir), '/') . '/*';