Fix php8.2
This commit is contained in:
@@ -174,7 +174,7 @@ class WOSiteCreateController(CementBaseController):
|
||||
data['basic'] = True
|
||||
|
||||
if (pargs.php72 or pargs.php73 or pargs.php74 or
|
||||
pargs.php80 or pargs.php81):
|
||||
pargs.php80 or pargs.php81 or pargs.php82):
|
||||
data = dict(
|
||||
site_name=wo_domain, www_domain=wo_www_domain,
|
||||
static=False, basic=False,
|
||||
@@ -263,7 +263,7 @@ class WOSiteCreateController(CementBaseController):
|
||||
elif config_php_ver == '8.1':
|
||||
data['php81'] = True
|
||||
data['wo_php'] = 'php81'
|
||||
elif config_php_ver == '8.1':
|
||||
elif config_php_ver == '8.2':
|
||||
data['php82'] = True
|
||||
data['wo_php'] = 'php82'
|
||||
else:
|
||||
|
||||
@@ -276,7 +276,8 @@ class WOSiteUpdateController(CementBaseController):
|
||||
|
||||
if (((stype == 'php' and
|
||||
oldsitetype not in ['html', 'proxy', 'php', 'php72',
|
||||
'php73', 'php74', 'php80', 'php81']) or
|
||||
'php73', 'php74', 'php80',
|
||||
'php81', 'php82']) or
|
||||
(stype == 'mysql' and oldsitetype not in [
|
||||
'html', 'php', 'php72', 'php73', 'php74', 'php80', 'php81',
|
||||
'php82', 'proxy']) or
|
||||
@@ -337,7 +338,7 @@ class WOSiteUpdateController(CementBaseController):
|
||||
(not data)):
|
||||
Log.debug(
|
||||
self, "pargs php72, or php73, or php74, "
|
||||
"or php80, or php81 enabled")
|
||||
"or php80, or php81 or php82 enabled")
|
||||
data = dict(
|
||||
site_name=wo_domain,
|
||||
www_domain=wo_www_domain,
|
||||
|
||||
Reference in New Issue
Block a user