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 4da42f2 commit 4be8ab0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/Core.php
Expand Up @@ -20,8 +20,6 @@
* - MODULES_PATH: Not used at the moment * - MODULES_PATH: Not used at the moment
* - THEMES_DIR: Path relative to webroot, e.g. "themes" * - THEMES_DIR: Path relative to webroot, e.g. "themes"
* - THEMES_PATH: Absolute filepath, e.g. "/var/www/my-webroot/themes" * - THEMES_PATH: Absolute filepath, e.g. "/var/www/my-webroot/themes"
* - CMS_DIR: Path relative to webroot, e.g. "cms"
* - CMS_PATH: Absolute filepath, e.g. "/var/www/my-webroot/cms"
* - SAPPHIRE_DIR: Path relative to webroot, e.g. "sapphire" * - SAPPHIRE_DIR: Path relative to webroot, e.g. "sapphire"
* - SAPPHIRE_PATH:Absolute filepath, e.g. "/var/www/my-webroot/sapphire" * - SAPPHIRE_PATH:Absolute filepath, e.g. "/var/www/my-webroot/sapphire"
* - SAPPHIRE_ADMIN_DIR: * - SAPPHIRE_ADMIN_DIR:
Expand Down Expand Up @@ -169,8 +167,6 @@ function array_fill_keys($keys,$value) {
define('SAPPHIRE_PATH', BASE_PATH . '/' . SAPPHIRE_DIR); define('SAPPHIRE_PATH', BASE_PATH . '/' . SAPPHIRE_DIR);
define('SAPPHIRE_ADMIN_DIR', 'sapphire/admin'); define('SAPPHIRE_ADMIN_DIR', 'sapphire/admin');
define('SAPPHIRE_ADMIN_PATH', BASE_PATH . '/' . SAPPHIRE_ADMIN_DIR); define('SAPPHIRE_ADMIN_PATH', BASE_PATH . '/' . SAPPHIRE_ADMIN_DIR);
define('CMS_DIR', 'cms');
define('CMS_PATH', BASE_PATH . '/' . CMS_DIR);
define('THIRDPARTY_DIR', SAPPHIRE_DIR . '/thirdparty'); define('THIRDPARTY_DIR', SAPPHIRE_DIR . '/thirdparty');
define('THIRDPARTY_PATH', BASE_PATH . '/' . THIRDPARTY_DIR); define('THIRDPARTY_PATH', BASE_PATH . '/' . THIRDPARTY_DIR);
define('ASSETS_DIR', 'assets'); define('ASSETS_DIR', 'assets');
Expand Down

0 comments on commit 4be8ab0

Please sign in to comment.