Skip to content

Commit

Permalink
MINOR Move definition of CMS_DIR and CMS_PATH into cms/_config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwelsh committed Mar 23, 2012
1 parent a5e9a3d commit 2f8148d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _config.php
@@ -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
*
Expand Down Expand Up @@ -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');

0 comments on commit 2f8148d

Please sign in to comment.