Skip to content

Commit

Permalink
Fix SSL install bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BroCart committed Apr 13, 2019
1 parent 569949f commit 42a7b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install/controller/install/step_3.php
Expand Up @@ -15,7 +15,7 @@ public function index() {
$output .= 'define(\'HTTP_SERVER\', \'' . HTTP_OPENCART . '\');' . "\n\n";

$output .= '// HTTPS' . "\n";
$output .= 'define(\'HTTP_SERVER\', \'' . HTTPS_OPENCART . '\');' . "\n\n";
$output .= 'define(\'HTTPS_SERVER\', \'' . HTTP_OPENCART . '\');' . "\n\n";

$output .= '// DIR' . "\n";
$output .= 'define(\'DIR_APPLICATION\', \'' . addslashes(DIR_OPENCART) . 'catalog/\');' . "\n";
Expand Down Expand Up @@ -53,8 +53,8 @@ public function index() {
$output .= 'define(\'HTTP_CATALOG\', \'' . HTTP_OPENCART . '\');' . "\n\n";

$output .= '// HTTPS' . "\n";
$output .= 'define(\'HTTP_SERVER\', \'' . HTTPS_OPENCART . 'admin/\');' . "\n";
$output .= 'define(\'HTTP_CATALOG\', \'' . HTTPS_OPENCART . '\');' . "\n\n";
$output .= 'define(\'HTTPS_SERVER\', \'' . HTTP_OPENCART . 'admin/\');' . "\n";
$output .= 'define(\'HTTPS_CATALOG\', \'' . HTTP_OPENCART . '\');' . "\n\n";

$output .= '// DIR' . "\n";
$output .= 'define(\'DIR_APPLICATION\', \'' . addslashes(DIR_OPENCART) . 'admin/\');' . "\n";
Expand Down

0 comments on commit 42a7b12

Please sign in to comment.