mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
PHP 8 Workaround
This commit is contained in:
parent
4236d48ae1
commit
8036767f04
@ -719,9 +719,10 @@ if ($ui->st('w', 'get') == 'lo') {
|
|||||||
|
|
||||||
$query = $sql->prepare("UPDATE `settings` SET `paneldomain`=? WHERE `resellerid`=0 LIMIT 1");
|
$query = $sql->prepare("UPDATE `settings` SET `paneldomain`=? WHERE `resellerid`=0 LIMIT 1");
|
||||||
$query->execute(array($webhostdomain));
|
$query->execute(array($webhostdomain));
|
||||||
|
|
||||||
|
/* PHP 8 Workaround
|
||||||
$params = @json_decode(licenceRequest(true));
|
$params = @json_decode(licenceRequest(true));
|
||||||
|
*/
|
||||||
if (isanyadmin($admin_id) or rsellerpermisions($admin_id)) {
|
if (isanyadmin($admin_id) or rsellerpermisions($admin_id)) {
|
||||||
redirect('admin.php');
|
redirect('admin.php');
|
||||||
} else {
|
} else {
|
||||||
@ -777,4 +778,4 @@ if (isset($include) and isset($template_to_use)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = null;
|
$sql = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user