ae7a41f8ce
We do not use the vendor directory (and Composer). And in the app directory there is a "ThirdParty" folder. See Change the name of the vendor directory: https://phphleb.ru/ru/v1/examples/#exampleVD0
19 lines
573 B
Text
19 lines
573 B
Text
<?php
|
|
/**
|
|
* Enter console commands from framework HLEB.
|
|
* All service commands: php console --help
|
|
*/
|
|
|
|
define('HLEB_GLOBAL_DIRECTORY', __DIR__);
|
|
define('HLEB_PUBLIC_DIR', realpath(HLEB_GLOBAL_DIRECTORY . '/public'));
|
|
|
|
// Additional structural paths
|
|
/*
|
|
define('HLEB_SEARCH_START_CONFIG_FILE', HLEB_GLOBAL_DIRECTORY);
|
|
define('HLEB_SEARCH_DBASE_CONFIG_FILE', realpath(HLEB_GLOBAL_DIRECTORY . '/database'));
|
|
define('HLEB_STORAGE_DIRECTORY', realpath(HLEB_GLOBAL_DIRECTORY . '/storage'));
|
|
*/
|
|
|
|
require realpath(__DIR__ . '/app/ThirdParty/phphleb/framework/console.php');
|
|
|
|
|