mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
NEW Allow setting of ASSETS_DIR in _ss_environment.php
This commit is contained in:
parent
1a52a51195
commit
429ac17a0f
@ -183,7 +183,10 @@ define('SAPPHIRE_ADMIN_PATH', FRAMEWORK_ADMIN_PATH);
|
|||||||
|
|
||||||
define('THIRDPARTY_DIR', FRAMEWORK_DIR . '/thirdparty');
|
define('THIRDPARTY_DIR', FRAMEWORK_DIR . '/thirdparty');
|
||||||
define('THIRDPARTY_PATH', BASE_PATH . '/' . THIRDPARTY_DIR);
|
define('THIRDPARTY_PATH', BASE_PATH . '/' . THIRDPARTY_DIR);
|
||||||
define('ASSETS_DIR', 'assets');
|
|
||||||
|
if(!defined('ASSETS_DIR')) {
|
||||||
|
define('ASSETS_DIR', 'assets');
|
||||||
|
}
|
||||||
define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR);
|
define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR);
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user