fix path in .editorconfig and remove unused constants (fix for ffa6bc0)

This commit is contained in:
maxpozdeev 2022-07-10 18:01:50 +03:00
parent 153536d6d4
commit a96fa6405e
2 changed files with 1 additions and 3 deletions

View file

@ -27,6 +27,6 @@ indent_size = 2
trim_trailing_whitespace = false
insert_final_newline = false
[/src/content/themes/*/index.php]
[/src/includes/theme.php]
indent_style = space
indent_size = 2

View file

@ -11,8 +11,6 @@ if (version_compare(PHP_VERSION, '7.2.0') < 0) {
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
if(!defined('MTTINC')) define('MTTINC', MTTPATH. 'includes/');
if(!defined('MTTCONTENT')) define('MTTCONTENT', MTTPATH. 'content/');
if(!defined('MTTTHEMES')) define('MTTTHEMES', MTTCONTENT. 'themes/');
if (getenv('MTT_ENABLE_DEBUG') == 'YES') {
define('MTT_DEBUG', true);