index.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  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 DolphinInstall Dolphin Install
  7. * @{
  8. */
  9. define ('BX_DOL_INSTALL', true);
  10. define ('BX_SKIP_INSTALL_CHECK', true);
  11. define ('BX_DOL_VER', '8.0.0');
  12. define ('BX_INSTALL_DEFAULT_LANGUAGE', 'en');
  13. define ('BX_INSTALL_URL_ROOT', '../');
  14. define ('BX_INSTALL_URL_MODULES', '../modules/');
  15. define ('BX_INSTALL_DIR_ROOT', '../');
  16. define ('BX_INSTALL_DIR_MODULES', '../modules/');
  17. define ('BX_INSTALL_DIR_PLUGINS', '../plugins/');
  18. define ('BX_INSTALL_DIR_TEMPLATES', './templates/');
  19. define ('BX_INSTALL_DIR_CLASSES', './classes/');
  20. define ('BX_INSTALL_PATH_HEADER', '../inc/header.inc.php');
  21. if (!defined('BX_DOL_MODULE_TYPE_MODULE')) {
  22. define('BX_DOL_MODULE_TYPE_MODULE', 'module');
  23. define('BX_DOL_MODULE_TYPE_LANGUAGE', 'language');
  24. define('BX_DOL_MODULE_TYPE_TEMPLATE', 'template');
  25. }
  26. require_once('../inc/utils.inc.php');
  27. require_once('../inc/classes/BxDol.php');
  28. require_once('../inc/classes/BxDolIO.php');
  29. require_once('../inc/classes/BxDolDb.php');
  30. require_once('../inc/classes/BxDolXmlParser.php');
  31. require_once('../template/scripts/BxBaseConfig.php');
  32. require_once('../studio/classes/BxDolStudioTools.php');
  33. require_once('../studio/classes/BxDolStudioToolsAudit.php');
  34. require_once(BX_INSTALL_DIR_CLASSES . 'BxDolInstallController.php');
  35. require_once(BX_INSTALL_DIR_CLASSES . 'BxDolInstallView.php');
  36. require_once(BX_INSTALL_DIR_CLASSES . 'BxDolInstallModulesTools.php');
  37. require_once(BX_INSTALL_DIR_CLASSES . 'BxDolInstallLang.php');
  38. require_once(BX_INSTALL_DIR_CLASSES . 'BxDolInstallSiteConfig.php');
  39. $oController = new BxDolInstallController ();
  40. $oController->run(isset($_REQUEST['action']) ? $_REQUEST['action'] : '');
  41. /** @} */