| @@ -1,9 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Elementor\Core\Debug\Classes; |
| 3 | 3 | |
| 4 | 4 | use Elementor\Modules\SafeMode\Module as Safe_Mode; |
| 5 | -use Elementor\Utils; | |
| 6 | 5 | |
| 7 | 6 | class Htaccess extends Inspection_Base { |
| 8 | 7 | |
| 9 | 8 | private $message = ''; |
| @@ -22,9 +21,9 @@ | ||
| 22 | 21 | if ( empty( $permalink_structure ) || empty( $_SERVER['SERVER_SOFTWARE'] ) ) { |
| 23 | 22 | return true; |
| 24 | 23 | } |
| 25 | 24 | |
| 26 | - $server = strtoupper( Utils::get_super_global_value( $_SERVER, 'SERVER_SOFTWARE' ) ); | |
| 25 | + $server = strtoupper( $_SERVER['SERVER_SOFTWARE'] ); | |
| 27 | 26 | |
| 28 | 27 | if ( strstr( $server, 'APACHE' ) ) { |
| 29 | 28 | $htaccess_file = get_home_path() . '.htaccess'; |
| 30 | 29 | /* translators: %s: Path to .htaccess file. */ |