Skip to content

Commit c885959

Browse files
committed
Use script path when forcing server vars
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent e969e6b commit c885959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function handle(): JsonResponse
6060
throw new http_exception(Response::HTTP_FORBIDDEN, 'Forbidden');
6161
}
6262

63-
$board_path = $this->path_helper->get_web_root_path();
63+
$board_path = $this->config['force_server_vars'] ? $this->config['script_path'] : $this->path_helper->get_web_root_path();
6464

6565
$manifest = [
6666
'name' => $this->config['sitename'],

0 commit comments

Comments
 (0)