include/ConfigUtils.php
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 10 and the first side effect is on line 10. Open
Open
<?php
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
date_default_timezone_set($timeZone);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
\App\ErrorHandler::init();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
\define('ROOT_DIRECTORY', str_replace(DIRECTORY_SEPARATOR . 'include', '', __DIR__));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
\define('IS_PUBLIC_DIR', false);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
session_save_path(ROOT_DIRECTORY . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR . 'session');
- Exclude checks