/var/softaculous/sp
NameSizeModeActions
images/-0755rm
php53/-0755rm
php56/-0755rm
php71/-0755rm
php81/-0755rm
php82/-0755rm
.htaccess1840644editdlrm
check_charset.php20140644editdlrm
clone.php135020644editdlrm
edit.php36300644editdlrm
edit.xml2690644editdlrm
extend.php25800644editdlrm
fileindex.php320644editdlrm
import.php31800644editdlrm
index.php12430644editdlrm
info.xml208620644editdlrm
install.js9240644editdlrm
install.php261710644editdlrm
install.xml54290644editdlrm
md514130644editdlrm
post_download.json950644editdlrm
sign_on_func.php21810644editdlrm
soft.htaccess1240644editdlrm
upgrade.php33580644editdlrm
upgrade.xml2310644editdlrm
_index.php370644editdlrm
Edit: /var/softaculous/sp/check_charset.php (2014B)
=' ) || ! function_exists( 'mysql_connect' ) ) { $use_mysqli = true; } elseif ( false !== strpos( '[[wpver]]', '-' ) ) { $use_mysqli = true; } } $version = __db_version(); if ( version_compare( $version, '5.5.3', '<' ) ) { return false; } if ( $use_mysqli ) { $client_version = mysqli_get_client_info(); } else { $client_version = mysql_get_client_info(); } /* * libmysql has supported utf8mb4 since 5.5.3, same as the MySQL server. * mysqlnd has supported utf8mb4 since 5.0.9. */ if ( false !== strpos( $client_version, 'mysqlnd' ) ) { $client_version = preg_replace( '/^\D+([\d.]+).*/', '$1', $client_version ); return version_compare( $client_version, '5.0.9', '>=' ); } else { return version_compare( $client_version, '5.5.3', '>=' ); } return false; } function __db_version() { global $use_mysqli; if ( $use_mysqli ) { $server_info = mysqli_get_server_info( mysqli_connect("[[softdbhost]]","[[softdbuser]]","[[softdbpass]]","[[softdb]]")); } else { $server_info = mysql_get_server_info( mysql_connect("[[softdbhost]]","[[softdbuser]]","[[softdbpass]]","[[softdb]]")); } return preg_replace( '/[^0-9.].*/', '', $server_info ); } $has_cap = __has_cap(); if(!empty($has_cap)){ echo 'utf8mb4'; } // Server detection /** * Whether the server software is Apache or something else * @global bool $soft_is_apache */ $soft_is_apache = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false); if(!empty($soft_is_apache)){ echo 'soft_is_apache'; }else{ echo 'soft_not_apache'; } if(include_once('[[editor_path]]/site-inc/open_basedir.php')){ if(!empty($included)){ echo 'SP_OBD_SUPPORTED'; } }