summaryrefslogtreecommitdiff
path: root/BitThemes.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2010-08-12 12:34:44 -0400
committerspiderr <spider@viovio.com>2010-08-12 12:34:44 -0400
commit4d0866d079ad2d41f45b8c90da9f6c91f559aa14 (patch)
tree0b3aabc832609d8bef89b3b6ccf88d5a4a0df435 /BitThemes.php
parent2a9554c8d225fc0ddb30fe289fe8ada7f4b8c659 (diff)
downloadthemes-4d0866d079ad2d41f45b8c90da9f6c91f559aa14.tar.gz
themes-4d0866d079ad2d41f45b8c90da9f6c91f559aa14.tar.bz2
themes-4d0866d079ad2d41f45b8c90da9f6c91f559aa14.zip
check for CONFIG_PKG_PATH.'css/config.css' to allow for tweaking of theme without having to fork it
Diffstat (limited to 'BitThemes.php')
-rw-r--r--BitThemes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/BitThemes.php b/BitThemes.php
index ffc9cfe..8545d2e 100644
--- a/BitThemes.php
+++ b/BitThemes.php
@@ -107,6 +107,10 @@ class BitThemes extends BitBase {
$this->loadCss( $this->getLayoutCssFile(), TRUE, 1, TRUE, TRUE );
$this->loadCss( $this->getStyleCssFile(), TRUE, 998, TRUE, TRUE );
$this->loadCss( $this->getBrowserStyleCssFile(), TRUE, 999, TRUE, TRUE );
+ // check for customized CSS file
+ if( file_exists( CONFIG_PKG_PATH.'css/config.css' ) ) {
+ $this->loadCss( CONFIG_PKG_PATH.'css/config.css' );
+ }
$this->mStyles['joined_css'] = $this->joinAuxFiles( 'css' );
}