mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-26 05:27:29 +02:00
[Web] Fix cow level, sorry :(
This commit is contained in:
parent
e91ddef717
commit
b1242259e7
@ -1275,7 +1275,12 @@ function license($action, $data = null) {
|
|||||||
$_SESSION['gal']['valid'] = "true";
|
$_SESSION['gal']['valid'] = "true";
|
||||||
$_SESSION['gal']['c'] = $json_return['c'];
|
$_SESSION['gal']['c'] = $json_return['c'];
|
||||||
$_SESSION['gal']['s'] = $json_return['s'];
|
$_SESSION['gal']['s'] = $json_return['s'];
|
||||||
$_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o'));
|
if ($json_return['m'] == 'NoMoore') {
|
||||||
|
$_SESSION['gal']['m'] = '🐄';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elseif ($json_return['response'] === "invalid") {
|
elseif ($json_return['response'] === "invalid") {
|
||||||
$_SESSION['gal']['valid'] = "false";
|
$_SESSION['gal']['valid'] = "false";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user