Skip to content

Commit

Permalink
Work around base path in config for Box
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliot-Tm committed Aug 31, 2024
1 parent 2513497 commit 576158b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/box/prepare-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
$configPath = __DIR__ . '/config.json';
$config = json_decode(file_get_contents($configPath), true, 512, \JSON_THROW_ON_ERROR);

$config['base-path'] = dirname($configPath, 2) . '/';
$config['base-path'] = dirname($configPath, 3) . '/';

file_put_contents($configPath, json_encode($config, \JSON_THROW_ON_ERROR | \JSON_PRETTY_PRINT));

0 comments on commit 576158b

Please sign in to comment.