From c36aed5a090d7a3fe0129d0852ca1820ebf7f308 Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Thu, 22 Jun 2023 15:42:59 +0200 Subject: [PATCH] Update theme-updater.blade.php --- resources/views/studio/theme-updater.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/studio/theme-updater.blade.php b/resources/views/studio/theme-updater.blade.php index bdb42d3..d665f82 100644 --- a/resources/views/studio/theme-updater.blade.php +++ b/resources/views/studio/theme-updater.blade.php @@ -47,7 +47,7 @@ if (strpos($sourceURL, 'github.com')){ ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 6.0)'); try{ - $textGit = file_get_contents($replaced); + $textGit = external_file_get_contents($replaced); $patternGit = '/Theme Version:.*/'; preg_match($patternGit, $textGit, $matches, PREG_OFFSET_CAPTURE); $sourceURLGit = substr($matches[0][0],15);