BxBaseConfig.php 799 B

1234567891011121314151617181920212223242526272829
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup DolphinCore Dolphin Core
  7. * @{
  8. */
  9. class BxBaseConfig extends BxDol implements iBxDolSingleton {
  10. var $iTagsMinFontSize = 10; // minimal font size of tag
  11. var $iTagsMaxFontSize = 30; // maximal font size of tag
  12. var $bAllowUnicodeInPreg = false; // allow unicode in regular expressions
  13. function BxBaseConfig() {
  14. parent::BxDol();
  15. }
  16. public static function getInstance() {
  17. if(!isset($GLOBALS['bxDolClasses'][__CLASS__]))
  18. $GLOBALS['bxDolClasses'][__CLASS__] = new BxTemplConfig();
  19. return $GLOBALS['bxDolClasses'][__CLASS__];
  20. }
  21. }
  22. /** @} */