Done !
| Server IP : 54.36.91.62 / Your IP : 216.73.216.38 Web Server : Apache System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : awaywithxm ( 25098) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awaywithxm/www/wp-content/plugins/secupress/inc/modules/plugins-themes/plugins/ |
Upload File : |
<?php
/**
* Module Name: No Plugins and Themes Upload
* Description: Disabled plugins and themes upload.
* Main Module: plugins&themes
* Author: Julio Potier
* Version: 1.2
*/
defined( 'SECUPRESS_VERSION' ) or die( 'Cheatin’ uh?' );
if ( ! is_admin() ) {
return;
}
if ( isset( $_FILES['pluginzip'] ) ) {
secupress_die( __( 'You do not have sufficient permissions to install plugins on this site.', 'secupress' ), '', array( 'force_die' => true ) );
}
if ( isset( $_FILES['themezip'] ) ) {
secupress_die( __( 'You do not have sufficient permissions to install themes on this site.', 'secupress' ), '', array( 'force_die' => true ) );
}
add_action( 'admin_print_styles-plugin-install.php', function () {
?><style>a.upload-view-toggle{display:none}</style><?php
});