Allow CSS and JS to load in private mode.
This commit is contained in:
parent
bd6af0a7c7
commit
373a2e4cce
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ final class AssetsHandler extends Handler {
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$GLOBALS['misuzuBypassLockdown'] = true;
|
||||||
|
}
|
||||||
|
|
||||||
private static function recurse(string $dir): string {
|
private static function recurse(string $dir): string {
|
||||||
$str = '';
|
$str = '';
|
||||||
$dir = rtrim(realpath($dir), '/') . '/*';
|
$dir = rtrim(realpath($dir), '/') . '/*';
|
||||||
|
|
Loading…
Add table
Reference in a new issue