| 12345678910111213141516171819202122232425262728293031 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
- * CC-BY License - http://creativecommons.org/licenses/by/3.0/
- *
- * @defgroup DolphinCore Dolphin Core
- * @{
- */
- bx_import('BxBaseConfig');
- class BxTemplConfig extends BxBaseConfig
- {
- function __construct()
- {
- parent::__construct();
- bx_import('BxDolTemplate');
- $sCode = BxDolTemplate::getInstance()->getCode();
- $sStaticImages = BX_DOL_URL_ROOT . 'templates/tmpl_' . $sCode . '/images/';
- bx_import('BxDolConfig');
- $oSysConfig = BxDolConfig::getInstance();
- $oSysConfig->set('url_static', 'images', $sStaticImages);
- $oSysConfig->set('url_static', 'icons', $sStaticImages . 'icons/');
- $oSysConfig->set('path_static', 'css', BX_DIRECTORY_PATH_ROOT . 'templates/tmpl_' . $sCode . '/css/');
- }
- }
- /** @} */
|