Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Move definition of CMS_DIR and CMS_PATH into cms/_config.php

  • Loading branch information...
commit 2f8148d0c04c25d0825cb5653825045c7c317a80 1 parent a5e9a3d
@simonwelsh simonwelsh 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.