1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-05 04:37:43 +02:00

feat(core): add new constant - PATH['assets'] #186 #225

This commit is contained in:
Awilum
2019-09-04 17:00:09 +03:00
parent 0052cdae37
commit 5f7b45b426

View File

@@ -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',