mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1336 from kinglozzer/define-assets-dir
NEW Allow setting of ASSETS_DIR in _ss_environment.php
This commit is contained in:
commit
6209d1be6a
@ -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