Skip to content

Commit

Permalink
Merge pull request #925 from sersar/master
Browse files Browse the repository at this point in the history
Фикс синтаксиса при установке
  • Loading branch information
mzhelskiy committed Jul 6, 2020
2 parents 024770f + 21e527e commit cb6ac01
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions application/install/backend/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ protected function loadLang()
protected function loadStoredData()
{
$aData = isset($_COOKIE[self::COOKIE_NAME]) ? $_COOKIE[self::COOKIE_NAME] : '';
if (get_magic_quotes_gpc()) {
$this->stripslashes($aData);
}
self::$aStoredData = $aData ? @unserialize($aData) : array();
}

Expand Down
2 changes: 1 addition & 1 deletion application/install/backend/step.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getName()
array_shift($aPath);
array_shift($aPath);
$sName = ucfirst(install_func_camelize(join('_', $aPath)));
$sName{0} = strtolower($sName{0});
$sName[0] = strtolower($sName[0]);
return $sName;
}

Expand Down
2 changes: 1 addition & 1 deletion application/install/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function install_autoload($sClassName)
array_shift($aPath);
$sDir = 'step';
$sName = ucfirst(install_func_camelize(join('_', $aPath)));
$sName{0} = strtolower($sName{0});
$sName[0] = strtolower($sName[0]);
} else {
$sName = array_pop($aPath);
$sDir = join(DIRECTORY_SEPARATOR, $aPath);
Expand Down

0 comments on commit cb6ac01

Please sign in to comment.