diff --git a/box.json.dist b/box.json.dist index 8e94b174..80103323 100644 --- a/box.json.dist +++ b/box.json.dist @@ -12,10 +12,10 @@ "with this source code in the file LICENSE." ], - "files": [ - "src/scoper.inc.php.tpl" + "files-bin": [ + "res/scoper.inc.php.tpl", + "vendor-hotfix/.gitkeep", ], - "files-bin": ["vendor-hotfix/.gitkeep"], "git": "git_version_placeholder", "datetime": "release-date", diff --git a/src/scoper.inc.php.tpl b/res/scoper.inc.php.tpl similarity index 100% rename from src/scoper.inc.php.tpl rename to res/scoper.inc.php.tpl diff --git a/src/Console/Command/InitCommand.php b/src/Console/Command/InitCommand.php index 63abda68..07b77e8b 100644 --- a/src/Console/Command/InitCommand.php +++ b/src/Console/Command/InitCommand.php @@ -33,7 +33,7 @@ final readonly class InitCommand implements Command { private const CONFIG_FILE_OPT = 'config'; - private const CONFIG_FILE_TEMPLATE = __DIR__.'/../../scoper.inc.php.tpl'; + private const CONFIG_FILE_TEMPLATE = __DIR__.'/../../../res/scoper.inc.php.tpl'; private const CONFIG_FILE_DEFAULT = 'scoper.inc.php'; public function __construct(