mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
commit
deebc78caf
@ -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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user