From 5c5f401a7e5d7a5cc0c66866cc5e56a5bb792d24 Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Tue, 6 Sep 2016 21:32:33 -0400 Subject: [PATCH] remove check for php safe mode #399 --- modules/aioseop_performance.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/aioseop_performance.php b/modules/aioseop_performance.php index 019643db4..219c7599b 100644 --- a/modules/aioseop_performance.php +++ b/modules/aioseop_performance.php @@ -169,11 +169,6 @@ function get_serverinfo() { if ( empty( $sql_mode ) ) { $sql_mode = __( 'Not set', 'all-in-one-seo-pack' ); } - if ( ini_get( 'safe_mode' ) ) { - $safe_mode = __( 'On', 'all-in-one-seo-pack' ); - } else { - $safe_mode = __( 'Off', 'all-in-one-seo-pack' ); - } if ( ini_get( 'allow_url_fopen' ) ) { $allow_url_fopen = __( 'On', 'all-in-one-seo-pack' ); } else { @@ -244,7 +239,6 @@ function get_serverinfo() { __( 'MYSQL Version', 'all-in-one-seo-pack' ) => $sqlversion, __( 'SQL Mode', 'all-in-one-seo-pack' ) => $sql_mode, __( 'PHP Version', 'all-in-one-seo-pack' ) => PHP_VERSION, - __( 'PHP Safe Mode', 'all-in-one-seo-pack' ) => $safe_mode, __( 'PHP Allow URL fopen', 'all-in-one-seo-pack' ) => $allow_url_fopen, __( 'PHP Memory Limit', 'all-in-one-seo-pack' ) => $memory_limit, __( 'PHP Max Upload Size', 'all-in-one-seo-pack' ) => $upload_max,