All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
18 lines
452 B
PHP
18 lines
452 B
PHP
<?php
|
|
|
|
if (str_starts_with(PHP_VERSION, "8.1.")) {
|
|
require_once __DIR__ . '/8.1/gmp.php';
|
|
}
|
|
if (str_starts_with(PHP_VERSION, "8.2.")) {
|
|
require_once __DIR__ . '/8.2/gmp.php';
|
|
}
|
|
if (str_starts_with(PHP_VERSION, "8.3.")) {
|
|
require_once __DIR__ . '/8.3/gmp.php';
|
|
}
|
|
if (str_starts_with(PHP_VERSION, "8.4.")) {
|
|
require_once __DIR__ . '/8.4/gmp.php';
|
|
}
|
|
if (str_starts_with(PHP_VERSION, "8.5.")) {
|
|
require_once __DIR__ . '/8.5/gmp.php';
|
|
}
|