增加PHP模板 (#4227)

* PHP模板增加“苹果CMS-V10”

* PHP增加“SeaCMS”扩展模板
pull/4231/head
Anye 8 months ago committed by GitHub
parent 7f2f7fa195
commit 329bb94d3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -124,6 +124,12 @@ var AddTablePHPExtensions = &gormigrate.Migration{
if err := tx.Create(&model.PHPExtensions{Name: "默认", Extensions: "bcmath,gd,gettext,intl,pcntl,shmop,soap,sockets,sysvsem,xmlrpc,zip"}).Error; err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "苹果CMS-V10", Extensions: "mysqli,pdo_mysql,zip,gd,redis,memcache,memcached"}).Error; err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "SeaCMS", Extensions: "mysqli,pdo_mysql,gd,curl"}).Error; err != nil {
return err
}
return nil
},
}

Loading…
Cancel
Save