diff --git a/README.md b/README.md index 51c2c73..f4fe375 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ For more information, go to https://www.luigifab.fr/magento/versioning (IPv6 is This repository is a mirror. To install the module, please use the extension key available in the documentation. If you like, take some of your time to improve the translations, go to https://bit.ly/2HyCCEc. -Version 3.0.2 released on 09/05/2015. +Version 3.0.3 released on 14/05/2015. diff --git a/app/code/community/Luigifab/Versioning/Model/Upgrade.php b/app/code/community/Luigifab/Versioning/Model/Upgrade.php index 004f202..7e3b9cc 100644 --- a/app/code/community/Luigifab/Versioning/Model/Upgrade.php +++ b/app/code/community/Luigifab/Versioning/Model/Upgrade.php @@ -1,7 +1,7 @@ @@ -52,7 +52,7 @@ public function disableAllBuffer() { // #### Gestion de la mise à jour ####################################### i18n ## public ### // - // = révision : 86 + // = révision : 87 // » Log toutes les informations de la mise à jour // » Déroule le processus de mise à jour public function process($targetRevision, $useFlag) { @@ -118,7 +118,7 @@ public function process($targetRevision, $useFlag) { $H['duration'] = ceil(microtime(true) - $H['duration']); $H['duration'] = ($H['duration'] < 1000) ? $H['duration'] : 1; - $H['status'] = 'Upgrade completed'."\n".trim(file_get_contents($log)); + $H['status'] = (is_file($log) && is_readable($log)) ? 'Upgrade completed'."\n".trim(file_get_contents($log)) : 'Upgrade completed'; $result = array( 'url' => '*/versioning_repository/index', diff --git a/app/code/community/Luigifab/Versioning/etc/config.xml b/app/code/community/Luigifab/Versioning/etc/config.xml index f6798d3..4ef37ee 100644 --- a/app/code/community/Luigifab/Versioning/etc/config.xml +++ b/app/code/community/Luigifab/Versioning/etc/config.xml @@ -1,8 +1,8 @@ - - - - -