Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 2f8148d0c04c25d0825cb5653825045c7c317a80 1 parent a5e9a3d
Simon Welsh authored March 24, 2012

Showing 1 changed file with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. 9  _config.php
9  _config.php
... ...
@@ -1,6 +1,13 @@
1 1
 <?php
2 2
 
3 3
 /**
  4
+ * - CMS_DIR: Path relative to webroot, e.g. "cms"
  5
+ * - CMS_PATH: Absolute filepath, e.g. "/var/www/my-webroot/cms"
  6
+ */
  7
+define('CMS_DIR', 'cms');
  8
+define('CMS_PATH', BASE_PATH . '/' . CMS_DIR);
  9
+
  10
+/**
4 11
  * Extended URL rules for the CMS module
5 12
  * 
6 13
  * @package cms
@@ -42,4 +49,4 @@
42 49
 CMSMenu::remove_menu_item('CMSPageHistoryController');
43 50
 CMSMenu::remove_menu_item('CMSPageReportsController');
44 51
 CMSMenu::remove_menu_item('CMSPageAddController');
45  
-CMSMenu::remove_menu_item('CMSFileAddController');
  52
+CMSMenu::remove_menu_item('CMSFileAddController');

0 notes on commit 2f8148d

Please sign in to comment.
Something went wrong with that request. Please try again.