states.install.config.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. $base = basename($_SERVER['SCRIPT_FILENAME']);
  7. return [
  8. 'navInstallerTitles' => [
  9. 'install' => 'Magento Installer',
  10. ],
  11. 'navInstaller' => [
  12. [
  13. 'id' => 'root',
  14. 'step' => 0,
  15. 'views' => ['root' => []],
  16. ],
  17. [
  18. 'id' => 'root.license',
  19. 'url' => 'license',
  20. 'templateUrl' => "$base/license",
  21. 'title' => 'License',
  22. 'main' => true,
  23. 'nav' => false,
  24. 'order' => -1,
  25. 'type' => 'install'
  26. ],
  27. [
  28. 'id' => 'root.landing-install',
  29. 'url' => 'landing-install',
  30. 'templateUrl' => "$base/landing-installer",
  31. 'title' => 'Installation',
  32. 'controller' => 'landingController',
  33. 'main' => true,
  34. 'default' => true,
  35. 'order' => 0,
  36. 'type' => 'install'
  37. ],
  38. [
  39. 'id' => 'root.readiness-check-install',
  40. 'url' => 'readiness-check-install',
  41. 'templateUrl' => "{$base}/readiness-check-installer",
  42. 'title' => "Readiness \n Check",
  43. 'header' => 'Step 1: Readiness Check',
  44. 'nav' => true,
  45. 'order' => 1,
  46. 'type' => 'install'
  47. ],
  48. [
  49. 'id' => 'root.readiness-check-install.progress',
  50. 'url' => 'readiness-check-install/progress',
  51. 'templateUrl' => "{$base}/readiness-check-installer/progress",
  52. 'title' => 'Readiness Check',
  53. 'header' => 'Step 1: Readiness Check',
  54. 'controller' => 'readinessCheckController',
  55. 'nav' => false,
  56. 'order' => 2,
  57. 'type' => 'install'
  58. ],
  59. [
  60. 'id' => 'root.add-database',
  61. 'url' => 'add-database',
  62. 'templateUrl' => "{$base}/add-database",
  63. 'title' => "Add \n a Database",
  64. 'header' => 'Step 2: Add a Database',
  65. 'controller' => 'addDatabaseController',
  66. 'nav' => true,
  67. 'validate' => true,
  68. 'order' => 3,
  69. 'type' => 'install'
  70. ],
  71. [
  72. 'id' => 'root.web-configuration',
  73. 'url' => 'web-configuration',
  74. 'templateUrl' => "{$base}/web-configuration",
  75. 'title' => "Web \n Configuration",
  76. 'header' => 'Step 3: Web Configuration',
  77. 'controller' => 'webConfigurationController',
  78. 'nav' => true,
  79. 'validate' => true,
  80. 'order' => 4,
  81. 'type' => 'install'
  82. ],
  83. [
  84. 'id' => 'root.customize-your-store',
  85. 'url' => 'customize-your-store',
  86. 'templateUrl' => "{$base}/customize-your-store",
  87. 'title' => "Customize \n Your Store",
  88. 'header' => 'Step 4: Customize Your Store',
  89. 'controller' => 'customizeYourStoreController',
  90. 'nav' => true,
  91. 'order' => 5,
  92. 'type' => 'install'
  93. ],
  94. [
  95. 'id' => 'root.create-admin-account',
  96. 'url' => 'create-admin-account',
  97. 'templateUrl' => "{$base}/create-admin-account",
  98. 'title' => "Create \n Admin Account",
  99. 'header' => 'Step 5: Create Admin Account',
  100. 'controller' => 'createAdminAccountController',
  101. 'nav' => true,
  102. 'validate' => true,
  103. 'order' => 6,
  104. 'type' => 'install'
  105. ],
  106. [
  107. 'id' => 'root.install',
  108. 'url' => 'install',
  109. 'templateUrl' => "{$base}/install",
  110. 'title' => 'Install',
  111. 'header' => 'Step 6: Install',
  112. 'controller' => 'installController',
  113. 'nav' => true,
  114. 'order' => 7,
  115. 'type' => 'install'
  116. ],
  117. [
  118. 'id' => 'root.success',
  119. 'url' => 'success',
  120. 'templateUrl' => "{$base}/success",
  121. 'title' => 'Success',
  122. 'controller' => 'successController',
  123. 'main' => true,
  124. 'order' => 8,
  125. 'type' => 'install'
  126. ],
  127. ],
  128. ];