module.config-original.php 3.7 KB

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