From 5f7b45b4260fc394ab8053d30ac3c8e7d4c609f0 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 4 Sep 2019 17:00:09 +0300 Subject: [PATCH] feat(core): add new constant - PATH['assets'] #186 #225 --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 53104951..0bda0a29 100755 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ declare(strict_types=1); * Flextype (http://flextype.org) * Founded by Sergey Romanenko and maintained by Flextype Community. */ - + namespace Flextype; use const DIRECTORY_SEPARATOR; @@ -33,6 +33,7 @@ define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); */ define('PATH', [ 'site' => ROOT_DIR . '/site', + 'assets' => ROOT_DIR . '/site/assets', 'plugins' => ROOT_DIR . '/site/plugins', 'themes' => ROOT_DIR . '/site/themes', 'entries' => ROOT_DIR . '/site/entries',