<?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'));

// Корневая папка шаблонов в системе
// Root template folder on the system 
define('TEMPLATES', realpath(HLEB_GLOBAL_DIRECTORY . '/resources/views'));

// 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'));
*/
define('HLEB_SEARCH_DBASE_CONFIG_FILE', realpath(HLEB_GLOBAL_DIRECTORY . '/config'));

require realpath(__DIR__ . '/vendor/phphleb/framework/console.php');
