fix: PHP versions fallback and auto-migrate on panel start

This commit is contained in:
orohi
2026-06-17 05:45:22 +03:00
parent f94143acf0
commit 52c4c785df
7 changed files with 54 additions and 32 deletions
+12
View File
@@ -0,0 +1,12 @@
package phpversions
var Defaults = []string{"8.1", "8.2", "8.3", "8.4"}
func Contains(version string) bool {
for _, v := range Defaults {
if v == version {
return true
}
}
return false
}