Skip to content

Commit

Permalink
Устранена ошибка при установке
Browse files Browse the repository at this point in the history
ошибка на первом шаге установки
  • Loading branch information
ocshop committed Aug 29, 2014
1 parent 9fc5d49 commit 7feac7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions upload/install/controller/step_1.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ class ControllerStep1 extends Controller {
public function index() {
if ($this->request->server['REQUEST_METHOD'] == 'POST') {
$this->redirect($this->url->link('step_2'));
}

if (isset($this->error['warning'])) {
$this->data['error_warning'] = $this->error['warning'];
} else {
$this->data['error_warning'] = '';
}

$this->data['action'] = $this->url->link('step_1');
Expand Down

0 comments on commit 7feac7c

Please sign in to comment.