File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed
Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 111111$ v_db_email = $ panel [$ user ]['CONTACT ' ];
112112
113113// List avaiable database types
114- $ db_types = split (', ' , $ _SESSION ['DB_SYSTEM ' ]);
114+ $ db_types = explode (', ' , $ _SESSION ['DB_SYSTEM ' ]);
115115
116116// List available database servers
117117exec (VESTA_CMD ."v-list-database-hosts json " , $ output , $ return_var );
Original file line number Diff line number Diff line change 2020}
2121
2222$ ipchain = $ _POST ['ipchain ' ];
23- /*if (!empty($_POST['ipchain'])) {
24- $ipchain = $_POST['ipchain'];
25- list($ip,$chain) = split(":",$ipchain);
26- $v_ip = escapeshellarg($ip);
27- $v_chain = escapeshellarg($chain);
28-
29- }*/
30-
3123$ action = $ _POST ['action ' ];
3224
3325switch ($ action ) {
3729}
3830
3931foreach ($ ipchain as $ value ) {
40- list ($ ip ,$ chain ) = split (": " ,$ value );
32+ list ($ ip ,$ chain ) = explode (": " ,$ value );
4133 $ v_ip = escapeshellarg ($ ip );
4234 $ v_chain = escapeshellarg ($ chain );
4335 exec (VESTA_CMD .$ cmd ." " .$ v_ip ." " .$ v_chain , $ output , $ return_var );
Original file line number Diff line number Diff line change 6161if (!empty ($ _SESSION ['BACKUP ' ])) $ v_backup_dir = $ _SESSION ['BACKUP ' ];
6262$ v_backup_gzip = '5 ' ;
6363if (!empty ($ _SESSION ['BACKUP_GZIP ' ])) $ v_backup_gzip = $ _SESSION ['BACKUP_GZIP ' ];
64- $ backup_types = split (", " ,$ _SESSION ['BACKUP_SYSTEM ' ]);
64+ $ backup_types = explode (", " ,$ _SESSION ['BACKUP_SYSTEM ' ]);
6565foreach ($ backup_types as $ backup_type ) {
6666 if ($ backup_type == 'local ' ) {
6767 $ v_backup = 'yes ' ;
You can’t perform that action at this time.
0 commit comments