Skip to content

Commit

Permalink
a trial fix for issue #1087
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed May 1, 2021
1 parent e99a388 commit 479797f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public_html/admin/install/classes/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ public function step2($retval, $req_string, $DB, $utf8, $params)
public function step3($retval, $_DB_dbms, $installPlugins, $nextLink, $gl_path)
{
global $_CONF, $_DEVICE, $_URL;
global $LANG01, $LANG03, $LANG04, $LANG05, $LANG08, $LANG09, $LANG10, $LANG11, $LANG12, $LANG20, $LANG21;
global $LANG23, $LANG24, $LANG27, $LANG28, $LANG29, $LANG31, $LANG32, $LANG33, $MESSAGE;

if ($this->post('submit') === '<< ' . Common::$LANG['INSTALL'][61]) {
header('Location: index.php?mode=install');
Expand Down
2 changes: 2 additions & 0 deletions public_html/admin/install/classes/Migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,8 @@ public function step4()
{
global $_CONF, $_DB_dbms, $_DB_host, $_DB_name, $_DB_user, $_DB_pass, $_DB_table_prefix,
$_TABLES, $LANG_INSTALL, $LANG_MIGRATE, $_URL, $_DEVICE;
global $LANG01, $LANG03, $LANG04, $LANG05, $LANG08, $LANG09, $LANG10, $LANG11, $LANG12, $LANG20, $LANG21;
global $LANG23, $LANG24, $LANG27, $LANG28, $LANG29, $LANG31, $LANG32, $LANG33, $MESSAGE;

if (empty(Common::$env['dbconfig_path'])) {
Common::$env['dbconfig_path'] = $_CONF['path'] . 'db-config.php';
Expand Down

0 comments on commit 479797f

Please sign in to comment.