N98\Magento\Command\Installer\InstallCommand::patchMagentoInstallerForPHP54 PHP Method

patchMagentoInstallerForPHP54() protected method

protected patchMagentoInstallerForPHP54 ( string $magentoFolder )
$magentoFolder string
    protected function patchMagentoInstallerForPHP54($magentoFolder)
    {
        $installerConfig = $magentoFolder . DIRECTORY_SEPARATOR . 'app/code/core/Mage/Install/etc/config.xml';
        if (file_exists($installerConfig)) {
            $xml = file_get_contents($installerConfig);
            file_put_contents($installerConfig, str_replace('<pdo_mysql/>', '<pdo_mysql>1</pdo_mysql>', $xml));
        }
    }