@@ 138-140 (lines=3) @@ | ||
135 | */ |
|
136 | public function requirements() |
|
137 | { |
|
138 | if (!$this->_step('language')) { |
|
139 | $this->redirect(['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'language']); |
|
140 | } |
|
141 | ||
142 | $tests = $this->_getTester(); |
|
143 | $errors = $tests->errors(); |
|
@@ 162-164 (lines=3) @@ | ||
159 | */ |
|
160 | public function license() |
|
161 | { |
|
162 | if (!$this->_step('requirements')) { |
|
163 | $this->redirect(['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'requirements']); |
|
164 | } |
|
165 | ||
166 | $this->title(__d('installer', 'License Agreement')); |
|
167 | $this->_step(); |
|
@@ 179-181 (lines=3) @@ | ||
176 | */ |
|
177 | public function database() |
|
178 | { |
|
179 | if (!$this->_step('license')) { |
|
180 | $this->redirect(['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'license']); |
|
181 | } |
|
182 | ||
183 | if (!empty($this->request->data)) { |
|
184 | $dbInstaller = new DatabaseInstaller(); |
|
@@ 209-211 (lines=3) @@ | ||
206 | */ |
|
207 | public function account() |
|
208 | { |
|
209 | if (!$this->_step('database')) { |
|
210 | $this->redirect(['plugin' => 'Installer', 'controller' => 'startup', 'action' => 'database']); |
|
211 | } |
|
212 | ||
213 | $this->loadModel('User.Users'); |
|
214 | $user = $this->Users->newEntity(); |