@@ -83,7 +83,7 @@ function is_php($version = '5.3.0')
8383 function is_really_writable ($ file )
8484 {
8585 // If we're on a Unix server with safe_mode off we call is_writable
86- if (DIRECTORY_SEPARATOR === '/ ' && (is_php ('5.4 ' ) OR ( bool ) @ ini_get ('safe_mode ' ) === FALSE ))
86+ if (DIRECTORY_SEPARATOR === '/ ' && (is_php ('5.4 ' ) OR ! ini_get ('safe_mode ' )))
8787 {
8888 return is_writable ($ file );
8989 }
@@ -600,7 +600,7 @@ function _exception_handler($severity, $message, $filepath, $line)
600600 $ _error ->log_exception ($ severity , $ message , $ filepath , $ line );
601601
602602 // Should we display the error?
603- if (( bool ) ini_get ('display_errors ' ) === TRUE )
603+ if (ini_get ('display_errors ' ))
604604 {
605605 $ _error ->show_php_error ($ severity , $ message , $ filepath , $ line );
606606 }
@@ -775,9 +775,9 @@ function function_usable($function_name)
775775 {
776776 if (extension_loaded ('suhosin ' ))
777777 {
778- $ _suhosin_func_blacklist = explode (', ' , trim (@ ini_get ('suhosin.executor.func.blacklist ' )));
778+ $ _suhosin_func_blacklist = explode (', ' , trim (ini_get ('suhosin.executor.func.blacklist ' )));
779779
780- if ( ! in_array ('eval ' , $ _suhosin_func_blacklist , TRUE ) && @ ini_get ('suhosin.executor.disable_eval ' ))
780+ if ( ! in_array ('eval ' , $ _suhosin_func_blacklist , TRUE ) && ini_get ('suhosin.executor.disable_eval ' ))
781781 {
782782 $ _suhosin_func_blacklist [] = 'eval ' ;
783783 }
0 commit comments