diff --git a/madeline70.phar b/madeline70.phar index 0ccb411..8210b1d 100644 Binary files a/madeline70.phar and b/madeline70.phar differ diff --git a/phar.php b/phar.php index 4f90412..0ff9749 100644 --- a/phar.php +++ b/phar.php @@ -54,12 +54,17 @@ function ___install_madeline() $release_branch = ''; } $release_fallback_branch = ''; + if (isset($_SERVER['SERVER_ADMIN']) && strpos($_SERVER['SERVER_ADMIN'], '000webhost.io')) { + $release_branch = '-deprecated'; + $release_fallback_branch = '-deprecated'; + } if (PHP_MAJOR_VERSION <= 5) { $release_branch = '5'.$release_branch; $release_fallback_branch = '5'.$release_fallback_branch; } elseif (PHP_MAJOR_VERSION === 7 && PHP_MINOR_VERSION === 0) { - $release_branch = ''; + $release_branch = '70'.$release_branch; + $release_fallback_branch = '70'.$release_fallback_branch; } // Checking if defined branch/default branch builds can be downloaded diff --git a/release b/release index 463209e..7f6c256 100644 --- a/release +++ b/release @@ -1 +1 @@ -e6cb604b0acd72dc6084e42a24f49b70dba1f664 \ No newline at end of file +0933b3b0d663541270b90ec40d802c909016491c \ No newline at end of file