module.config.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?php
  2. /**
  3. * @version 7.6
  4. */
  5. return array(
  6. 'routes' => array(
  7. 'admin-index-index' => array(
  8. 'administration',
  9. array(
  10. 'controller' => 'index',
  11. 'action' => 'index',
  12. ),
  13. ),
  14. 'admin-settings-route' => array(
  15. 'admin/settings/:page',
  16. array(
  17. 'controller' => 'settings',
  18. 'action' => 'index',
  19. ),
  20. ),
  21. 'admin-tables-route' => array(
  22. 'admin/tables/table/:table',
  23. array(
  24. 'controller' => 'tables',
  25. 'action' => 'index',
  26. ),
  27. array(
  28. 'table' => '[a-zA-Z\.]+',
  29. )
  30. ),
  31. 'admin-fees-type' => array(
  32. 'admin/fees/:type/:name',
  33. array(
  34. 'controller' => 'fees',
  35. 'action' => 'index',
  36. ),
  37. ),
  38. 'admin-admin-users-browse' => array(
  39. 'admin/browse-users/:view',
  40. array(
  41. 'controller' => 'users',
  42. 'action' => 'browse',
  43. ),
  44. ),
  45. 'admin-users-add' => array(
  46. 'admin/users/add/:view',
  47. array(
  48. 'controller' => 'users',
  49. 'action' => 'add',
  50. ),
  51. ),
  52. 'admin-users-edit' => array(
  53. 'admin/users/manage/:view',
  54. array(
  55. 'controller' => 'users',
  56. 'action' => 'manage',
  57. ),
  58. ),
  59. 'admin-listings-browse' => array(
  60. 'admin/browse-listings/:listing_type',
  61. array(
  62. 'controller' => 'listings',
  63. 'action' => 'browse',
  64. ),
  65. ),
  66. 'admin-listings-sales' => array(
  67. 'admin/listings/sales',
  68. array(
  69. 'controller' => 'listings',
  70. 'action' => 'sales',
  71. ),
  72. ),
  73. 'admin-users-reputation-management' => array(
  74. 'admin/users/reputation',
  75. array(
  76. 'controller' => 'users',
  77. 'action' => 'reputation',
  78. ),
  79. ),
  80. 'admin-messaging-browse' => array(
  81. 'admin/tools/messaging',
  82. array(
  83. 'controller' => 'tools',
  84. 'action' => 'messaging',
  85. ),
  86. ),
  87. 'admin-messaging-topic' => array(
  88. 'admin/tools/messaging-topic',
  89. array(
  90. 'controller' => 'tools',
  91. 'action' => 'messaging-topic',
  92. ),
  93. ),
  94. 'admin-newsletters' => array(
  95. 'admin/tools/newsletters',
  96. array(
  97. 'controller' => 'tools',
  98. 'action' => 'newsletters',
  99. ),
  100. ),
  101. 'admin-accounting' => array(
  102. 'admin/tools/accounting',
  103. array(
  104. 'controller' => 'tools',
  105. 'action' => 'accounting',
  106. ),
  107. ),
  108. 'admin-accounting-view-invoice' => array(
  109. 'admin/tools/view-invoice',
  110. array(
  111. 'controller' => 'tools',
  112. 'action' => 'view-invoice',
  113. ),
  114. ),
  115. ),
  116. 'view' => array(
  117. 'layouts_path' => __DIR__ . '/../view/layout',
  118. 'views_path' => __DIR__ . '/../view',
  119. 'layout_file' => 'layout.phtml',
  120. ),
  121. 'navigation' => array(
  122. 'data_type' => 'xml',
  123. 'data_file' => APPLICATION_PATH . '/config/../module/Admin/config/data/navigation/navigation.xml',
  124. 'views_path' => __DIR__ . '/../view',
  125. ),
  126. 'session' => array(
  127. 'namespace' => '%ADMIN_SESSION_NAMESPACE%',
  128. 'secret' => '%ADMIN_SESSION_SECRET%',
  129. ),
  130. );