Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #73 from simonwelsh/cms_dir

MINOR Move definition of CMS_DIR and CMS_PATH into cms/_config.php
  • Loading branch information...
commit ecee3cc7721bd7baed74994ac595950b2ecb8fe1 2 parents a5e9a3d + 2f8148d
@halkyon halkyon authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 _config.php
View
9 _config.php
@@ -1,6 +1,13 @@
<?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
*
* @package cms
@@ -42,4 +49,4 @@
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');
Please sign in to comment.
Something went wrong with that request. Please try again.