From 27dc9087caa948789fe03e5f39b8228483ea207b Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 15 Mar 2020 11:47:39 +0300 Subject: [PATCH] refactor(core): remove constants from the core #414 --- index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.php b/index.php index 7bb3046a..b7dc4aae 100755 --- a/index.php +++ b/index.php @@ -34,13 +34,8 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); define('PATH', [ 'site' => ROOT_DIR . '/site', 'plugins' => ROOT_DIR . '/site/plugins', - 'themes' => ROOT_DIR . '/site/themes', 'entries' => ROOT_DIR . '/site/entries', - 'snippets' => ROOT_DIR . '/site/snippets', - 'fieldsets' => ROOT_DIR . '/site/fieldsets', 'tokens' => ROOT_DIR . '/site/tokens', - 'accounts' => ROOT_DIR . '/site/accounts', - 'uploads' => ROOT_DIR . '/site/uploads', 'config' => [ 'default' => ROOT_DIR . '/flextype/config', 'site' => ROOT_DIR . '/site/config', @@ -53,7 +48,7 @@ define('PATH', [ * Check PHP Version */ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(sprintf('You are running PHP %s, but Flextype needs at least PHP %s to run.', $ver, $req)); - +echo PHP_VERSION; /** * Ensure vendor libraries exist */