-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan_constants.php
More file actions
48 lines (41 loc) · 1.37 KB
/
phpstan_constants.php
File metadata and controls
48 lines (41 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* GSC Tesseract
* php version 8.2
*
* @category CMS
* @package Framework
* @author Fred Brooker <git@gscloud.cz>
* @license MIT https://gscloud.cz/LICENSE.txt
* @link https://mini.gscloud.cz
*/
defined('DS') || define('DS', '/');
defined('SS') || define('SS', '_');
define('ROOT', __DIR__);
define('APP', ROOT . DS . 'app');
define('CACHE', ROOT . DS . 'temp');
define('CDN', '');
define('DATA', ROOT . DS . 'data');
define('WWW', ROOT . DS . 'www');
define('CONFIG', APP . DS . 'config.neon');
define('CONFIG_PRIVATE', APP . DS . 'config_private.neon');
define('CONFIG_DOCKER', APP . DS . 'config_docker.neon');
define('LOGS', ROOT . DS . 'logs');
define('PARTIALS', APP . DS . 'partials');
define('TEMP', ROOT . DS . 'temp');
define('TEMPLATES', APP . DS . 'templates');
define('CSP', APP . DS . 'csp.neon');
define('DOWNLOAD', WWW . DS . 'download');
define('UPLOAD', WWW . DS . 'upload');
define('APPNAME', 'app');
define('CACHEPREFIX', 'cache_');
define('CLI', (bool) (PHP_SAPI == 'cli'));
define('DEBUG', true);
define('DOMAIN', $_SERVER['SERVER_NAME'] ?? 'localhost');
define('HOST', 'localhost');
define('LOCALHOST', (bool) (($_SERVER['SERVER_NAME'] ?? '') == 'localhost') || CLI);
define('PROJECT', 'LASAGNA');
define('REDIS_CACHE', true);
define('SERVER', $_SERVER['SERVER_NAME'] ?? 'localhost');
define('TESSERACT_START', 12345);
define('VERSION', true);