check that the non_standard domain is not already in the session variable

This commit is contained in:
Nicolas Roman 2019-07-11 14:19:09 +02:00
parent 8fe671097d
commit 27b449fd98
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ if (!$conf['cluster']) {
} }
// current vhost isn't standard and thus not manageable by evoadmin-web // current vhost isn't standard and thus not manageable by evoadmin-web
if (!$data_split[9]) { if (!$data_split[9] && (!in_array($data_split[0], $_SESSION['non_standard']))) {
array_push($_SESSION['non_standard'], $data_split[0]); array_push($_SESSION['non_standard'], $data_split[0]);
} }