mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Move definition of CMS_DIR and CMS_PATH into cms/_config.php
This commit is contained in:
parent
a5e9a3d350
commit
2f8148d0c0
@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* - CMS_DIR: Path relative to webroot, e.g. "cms"
|
||||
* - CMS_PATH: Absolute filepath, e.g. "/var/www/my-webroot/cms"
|
||||
*/
|
||||
define('CMS_DIR', 'cms');
|
||||
define('CMS_PATH', BASE_PATH . '/' . CMS_DIR);
|
||||
|
||||
/**
|
||||
* Extended URL rules for the CMS module
|
||||
*
|
||||
@ -42,4 +49,4 @@ CMSMenu::remove_menu_item('CMSPageSettingsController');
|
||||
CMSMenu::remove_menu_item('CMSPageHistoryController');
|
||||
CMSMenu::remove_menu_item('CMSPageReportsController');
|
||||
CMSMenu::remove_menu_item('CMSPageAddController');
|
||||
CMSMenu::remove_menu_item('CMSFileAddController');
|
||||
CMSMenu::remove_menu_item('CMSFileAddController');
|
||||
|
Loading…
Reference in New Issue
Block a user