Fix php8.2

This commit is contained in:
VirtuBox
2022-12-11 16:30:40 +01:00
parent 887cc1d3f0
commit 319d1d0afc
3 changed files with 9 additions and 8 deletions

View File

@@ -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: