includes/admin/importers/class-wc-tax-rate-importer.php 1 location
|
@@ 78-80 (lines=3) @@
|
75 |
|
if ( function_exists( 'gc_enable' ) ) { |
76 |
|
gc_enable(); |
77 |
|
} |
78 |
|
if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { |
79 |
|
@set_time_limit( 0 ); |
80 |
|
} |
81 |
|
@ob_flush(); |
82 |
|
@flush(); |
83 |
|
@ini_set( 'auto_detect_line_endings', '1' ); |
includes/class-wc-download-handler.php 1 location
|
@@ 336-338 (lines=3) @@
|
333 |
|
* Check and set certain server config variables to ensure downloads work as intended. |
334 |
|
*/ |
335 |
|
private static function check_server_config() { |
336 |
|
if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { |
337 |
|
@set_time_limit( 0 ); |
338 |
|
} |
339 |
|
if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) { |
340 |
|
set_magic_quotes_runtime( 0 ); |
341 |
|
} |
includes/class-wc-ajax.php 1 location
|
@@ 902-904 (lines=3) @@
|
899 |
|
die(-1); |
900 |
|
} |
901 |
|
|
902 |
|
if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { |
903 |
|
@set_time_limit( 0 ); |
904 |
|
} |
905 |
|
|
906 |
|
$post_id = intval( $_POST['post_id'] ); |
907 |
|
|