From 80ea10c32236ab172867c8a9c267e780638f521a Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 29 Jan 2023 17:58:09 +0100 Subject: [PATCH] Improve madeline.php --- tools/phar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/phar.php b/tools/phar.php index 426df563a..3febca1b3 100644 --- a/tools/phar.php +++ b/tools/phar.php @@ -210,7 +210,7 @@ class Installer } \define('HAD_MADELINE_PHAR', !!$local_release); - if ($local_release !== null) { + if ($local_release !== null && \file_exists("madeline-$local_release.phar")) { return self::load($local_release); }