diff --git a/classes/PrestashopConfiguration.php b/classes/PrestashopConfiguration.php index 8eb194807..8e5062335 100644 --- a/classes/PrestashopConfiguration.php +++ b/classes/PrestashopConfiguration.php @@ -78,7 +78,7 @@ public function getPrestaShopVersion() $this->psRootDir . '/app/AppKernel.php', ); foreach ($files as $file) { - $version = $this->findPrestaShopVersionInFile(file_get_contents($file)); + $version = $this->findPrestaShopVersionInFile(@file_get_contents($file)); if ($version) { return $version; }