cloudways
1 year ago
cpanel
1 year ago
directadmin
1 year ago
hostgator
3 years ago
plesk
1 year ago
index.php
2 years ago
integrations.php
3 years ago
integrations.php
18 lines
| 1 | <?php defined( 'ABSPATH' ) or die(); |
| 2 | $other_host = rsssl_get_other_host(); |
| 3 | if (file_exists( rsssl_le_path . "integrations/$other_host/$other_host.php" )) { |
| 4 | require_once( rsssl_le_path . "integrations/$other_host/$other_host.php" ); |
| 5 | } |
| 6 | if (file_exists( rsssl_le_path . "integrations/$other_host/functions.php" )){ |
| 7 | require_once( rsssl_le_path . "integrations/$other_host/functions.php" ); |
| 8 | } |
| 9 | |
| 10 | if ( rsssl_is_cpanel() ) { |
| 11 | require_once( rsssl_le_path . 'integrations/cpanel/cpanel.php' ); |
| 12 | } else if ( rsssl_is_plesk() ) { |
| 13 | require_once( rsssl_le_path . 'integrations/plesk/plesk.php' ); |
| 14 | } else if ( rsssl_is_directadmin() ) { |
| 15 | require_once( rsssl_le_path . 'integrations/directadmin/directadmin.php' ); |
| 16 | } |
| 17 | |
| 18 |