Merge pull request #7890 from open-sausages/pulls/4.0/fix-tests-bootstrapping

BUG Fix incorrect assets created when ASSETS_PATH !== BASE_PATH . '/assets'
This commit is contained in:
Chris Joe 2018-02-26 16:16:03 +13:00 committed by GitHub
commit deebc78caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])) {