forked from LibArea/libarea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console
23 lines (18 loc) · 831 Bytes
/
console
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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');