-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan_constants.php
37 lines (36 loc) · 1.18 KB
/
phpstan_constants.php
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
<?php
/**
* GSC Tesseract
* php version 8.2
*
* @category CMS
* @package Framework
* @author Fred Brooker <[email protected]>
* @license MIT https://gscloud.cz/LICENSE.txt
* @link https://mini.gscloud.cz
*/
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('CSP', APP . DS . 'csp.neon');
define('TEMPLATES', APP . DS . 'templates');
define('PARTIALS', APP . DS . 'partials');
define('DOWNLOAD', WWW . DS . 'download');
define('UPLOAD', WWW . DS . 'upload');
define('LOGS', ROOT . DS . 'logs');
define('TEMP', ROOT . DS . 'temp');
define('CLI', (bool) (PHP_SAPI == 'cli'));
define('LOCALHOST', (bool) (($_SERVER['SERVER_NAME'] ?? '') == 'localhost') || CLI);
define('APPNAME', 'app');
define('CACHEPREFIX', 'cache_');
define('DEBUG', true);
define('DOMAIN', $_SERVER['SERVER_NAME'] ?? 'localhost');
define('PROJECT', 'LASAGNA');
define('REDIS_CACHE', false);
define('SERVER', $_SERVER['SERVER_NAME'] ?? 'localhost');
define('SF_ITERATIONS', 10);