mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Adding note about max length of mysql username
This commit is contained in:
parent
ba91d1fd78
commit
8cabb5414a
31 changed files with 49 additions and 2 deletions
|
@ -345,3 +345,12 @@ function list_timezones() {
|
|||
}
|
||||
return $timezone_list;
|
||||
}
|
||||
|
||||
function is_it_mysql_or_mariadb() {
|
||||
exec (VESTA_CMD."v-list-sys-services json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
$mysqltype='mysql';
|
||||
if (isset($data['mariadb'])) $mysqltype='mariadb';
|
||||
return $mysqltype;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue