From b27102f810e873d287fa04678a4ff242c40699f6 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Mon, 26 Feb 2018 13:12:08 +1300 Subject: [PATCH] BUG Fix incorrect assets created when ASSETS_PATH !== BASE_PATH . '/assets' --- tests/bootstrap/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bootstrap/init.php b/tests/bootstrap/init.php index 8f31ca384..0eefed991 100644 --- a/tests/bootstrap/init.php +++ b/tests/bootstrap/init.php @@ -14,8 +14,8 @@ if (!defined('BASE_PATH')) { ini_set('display_errors', 1); // Asset folder -if (!file_exists(BASE_PATH . '/assets')) { - mkdir(BASE_PATH . '/assets', 02775); +if (!file_exists(ASSETS_PATH)) { + mkdir(ASSETS_PATH, 02775); } if (empty($_SERVER['HTTP_HOST'])) {