@@ -394,7 +394,7 @@ function id_hash($id,$levels) {
394394
395395 $ params = array (
396396 'server_id ' => $ server_id ,
397- // 'ip_address' => '',
397+ 'ip_address ' => '* ' ,
398398 //'ipv6_address' => '',
399399 'domain ' => $ entry ['name ' ],
400400 'type ' => 'vhost ' , // can be vhost or alias
@@ -404,12 +404,12 @@ function id_hash($id,$levels) {
404404 'traffic_quota ' => byte_to_mbyte (get_limit ($ limits , $ entry ['id ' ], 'max_traffic ' , -1 )),
405405 'cgi ' => yes_no (get_option ($ hosting , 'cgi ' , 'false ' ) === 'true ' ? 1 : 0 ),
406406 'ssi ' => yes_no (get_option ($ hosting , 'ssi ' , 'false ' ) === 'true ' ? 1 : 0 ),
407- 'suexec ' => yes_no (0 ), // does plesk use this?!
407+ 'suexec ' => yes_no (1 ), // does plesk use this?!
408408 'errordocs ' => get_option ($ options , 'apacheErrorDocs ' , 'false ' ) === 'true ' ? 1 : 0 ,
409409 'subdomain ' => 'www ' , // plesk always uses this option
410410 'ssl ' => yes_no (get_option ($ hosting , 'ssl ' , 'false ' ) === 'true ' ? 1 : 0 ),
411411 'php ' => $ phpmode ,
412- 'fastcgi_php_version ' => '' , // plsek has no different php versions
412+ 'fastcgi_php_version ' => '' , // plesk has no different php versions
413413 'ruby ' => yes_no (0 ), // plesk has no ruby support
414414 'python ' => yes_no (get_option ($ hosting , 'python ' , 'false ' ) === 'true ' ? 1 : 0 ),
415415 'active ' => yes_no (($ entry ['status ' ] == 0 && get_option ($ hosting , 'maintenance_mode ' , 'false ' ) !== 'true ' ) ? 1 : 0 ),
@@ -609,7 +609,7 @@ function id_hash($id,$levels) {
609609
610610 $ params = array (
611611 'server_id ' => $ server_id ,
612- // 'ip_address' => '',
612+ 'ip_address ' => '* ' ,
613613 //'ipv6_address' => '',
614614 'domain ' => $ entry ['name ' ] . '. ' . $ parent_domain ['name ' ],
615615 'type ' => 'vhost ' , // can be vhost or alias
@@ -619,12 +619,12 @@ function id_hash($id,$levels) {
619619 'traffic_quota ' => byte_to_mbyte (get_limit ($ limits , $ entry ['dom_id ' ], 'max_traffic ' , -1 )),
620620 'cgi ' => yes_no (get_option ($ hosting , 'cgi ' , 'false ' ) === 'true ' ? 1 : 0 ),
621621 'ssi ' => yes_no (get_option ($ hosting , 'ssi ' , 'false ' ) === 'true ' ? 1 : 0 ),
622- 'suexec ' => yes_no (0 ), // does plesk use this?!
622+ 'suexec ' => yes_no (1 ), // does plesk use this?!
623623 'errordocs ' => get_option ($ options , 'apacheErrorDocs ' , 'false ' ) === 'true ' ? 1 : 0 ,
624624 'subdomain ' => 'www ' , // plesk always uses this option
625625 'ssl ' => yes_no (get_option ($ hosting , 'ssl ' , 'false ' ) === 'true ' ? 1 : 0 ),
626626 'php ' => $ phpmode ,
627- 'fastcgi_php_version ' => '' , // plsek has no different php versions
627+ 'fastcgi_php_version ' => '' , // plesk has no different php versions
628628 'ruby ' => yes_no (0 ), // plesk has no ruby support
629629 'python ' => yes_no (get_option ($ hosting , 'python ' , 'false ' ) === 'true ' ? 1 : 0 ),
630630 'active ' => yes_no (($ entry ['status ' ] == 0 && get_option ($ hosting , 'maintenance_mode ' , 'false ' ) !== 'true ' ) ? 1 : 0 ),
@@ -1077,7 +1077,7 @@ function id_hash($id,$levels) {
10771077
10781078 //$client_traffic = $exdb->queryAllRecords("SELECT t.cl_id, t.date, t.http_in, t.http_out, t.ftp_in, t.ftp_out, t.smtp_in, t.smtp_out, t.pop3_imap_in, t.pop3_imap_out FROM ClientsTraffic as t");
10791079
1080- $ databases = $ exdb ->queryAllRecords ("SELECT d.id, d.name, d.type, d.dom_id, d.db_server_id, d.default_user_id " );
1080+ $ databases = $ exdb ->queryAllRecords ("SELECT d.id, d.name, d.type, d.dom_id, d.db_server_id, d.default_user_id FROM databases as d " );
10811081 $ db_users = $ exdb ->queryAllRecords ("SELECT u.id, u.login, u.account_id, u.db_id, a.password, a.type as `pwtype` FROM db_users as u LEFT JOIN accounts as a ON (a.id = u.account_id) " );
10821082
10831083 // do we need table disk_usage for import? i think we don't
0 commit comments