config.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup API API to the UNA backend
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_api',
  17. 'title' => 'API',
  18. 'note' => 'API, backend interface',
  19. 'version' => '13.0.2.DEV',
  20. 'vendor' => 'UNA INC',
  21. 'help_url' => 'http://feed.una.io/?section={module_name}',
  22. 'compatible_with' => array(
  23. '13.0.x'
  24. ),
  25. /**
  26. * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
  27. */
  28. 'home_dir' => 'boonex/api/',
  29. 'home_uri' => 'api',
  30. 'db_prefix' => 'bx_api_',
  31. 'class_prefix' => 'BxApi',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'API',
  36. /**
  37. * Installation/Uninstallation Section.
  38. */
  39. 'install' => array(
  40. 'execute_sql' => 1,
  41. 'update_languages' => 1,
  42. ),
  43. 'uninstall' => array (
  44. 'execute_sql' => 1,
  45. 'update_languages' => 1,
  46. ),
  47. 'enable' => array(
  48. 'execute_sql' => 1,
  49. 'clear_db_cache' => 1,
  50. ),
  51. 'disable' => array(
  52. 'execute_sql' => 1,
  53. 'clear_db_cache' => 1,
  54. ),
  55. /**
  56. * Dependencies Section
  57. */
  58. 'dependencies' => array(
  59. 'oauth2' => 'BoonEx OAuth2 Server Module'
  60. ),
  61. );
  62. /** @} */