diff --git a/bin/db b/bin/db index edb9a63..c2c3b74 100644 --- a/bin/db +++ b/bin/db @@ -1,21 +1,39 @@ +#!/usr/bin/env php init(); -$application->run(); +$application->run(); \ No newline at end of file diff --git a/bin/jedi b/bin/jedi index 86333e3..68e1bd3 100644 --- a/bin/jedi +++ b/bin/jedi @@ -1,19 +1,35 @@ +#!/usr/bin/env php setDocumentRoot($_SERVER['DOCUMENT_ROOT']); -$jediApplication->run(); - +$jediApplication->run(); \ No newline at end of file diff --git a/composer.json b/composer.json index 78a0953..348925f 100644 --- a/composer.json +++ b/composer.json @@ -109,5 +109,10 @@ "./bitrix/components/{$name}/": ["type:bitrix-d7-component", "type:bitrix-component"], "./bitrix/templates/{$name}/": ["type:bitrix-d7-template", "type:bitrix-theme"] } - } + }, + "bin": [ + "bin/module", + "bin/console", + "bin/db" + ] }