mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
ee2f196f4b
@ -20,8 +20,6 @@
|
||||
* - MODULES_PATH: Not used at the moment
|
||||
* - THEMES_DIR: Path relative to webroot, e.g. "themes"
|
||||
* - THEMES_PATH: Absolute filepath, e.g. "/var/www/my-webroot/themes"
|
||||
* - CMS_DIR: Path relative to webroot, e.g. "cms"
|
||||
* - CMS_PATH: Absolute filepath, e.g. "/var/www/my-webroot/cms"
|
||||
* - SAPPHIRE_DIR: Path relative to webroot, e.g. "sapphire"
|
||||
* - SAPPHIRE_PATH:Absolute filepath, e.g. "/var/www/my-webroot/sapphire"
|
||||
* - SAPPHIRE_ADMIN_DIR:
|
||||
@ -169,8 +167,6 @@ define('SAPPHIRE_DIR', 'sapphire');
|
||||
define('SAPPHIRE_PATH', BASE_PATH . '/' . SAPPHIRE_DIR);
|
||||
define('SAPPHIRE_ADMIN_DIR', 'sapphire/admin');
|
||||
define('SAPPHIRE_ADMIN_PATH', BASE_PATH . '/' . SAPPHIRE_ADMIN_DIR);
|
||||
define('CMS_DIR', 'cms');
|
||||
define('CMS_PATH', BASE_PATH . '/' . CMS_DIR);
|
||||
define('THIRDPARTY_DIR', SAPPHIRE_DIR . '/thirdparty');
|
||||
define('THIRDPARTY_PATH', BASE_PATH . '/' . THIRDPARTY_DIR);
|
||||
define('ASSETS_DIR', 'assets');
|
||||
|
@ -1049,8 +1049,10 @@ JS
|
||||
|
||||
function printall() {
|
||||
Requirements::clear();
|
||||
Requirements::css(CMS_DIR . '/css/typography.css');
|
||||
Requirements::css(CMS_DIR . '/css/cms_right.css');
|
||||
if(defined('CMS_DIR')) {
|
||||
Requirements::css(CMS_DIR . '/css/typography.css');
|
||||
Requirements::css(CMS_DIR . '/css/cms_right.css');
|
||||
}
|
||||
Requirements::css(SAPPHIRE_DIR . '/css/TableListField_print.css');
|
||||
|
||||
$this->cachedSourceItems = null;
|
||||
|
Loading…
Reference in New Issue
Block a user