Same name in other branches
  1. 7.x-2.x advagg_css_compress/yui/CSSMin.inc \CSSmin::__construct()
  2. 8.x-3.x advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()

Parameters

bool|int $raise_php_limits: If true, PHP settings will be raised if needed

File

advagg_css_minify/yui/CSSMin.inc, line 57

Class

CSSmin

Code

public function __construct($raise_php_limits = TRUE) {
    // Set suggested PHP limits
    $this->memory_limit = 128 * 1048576;
    // 128MB in bytes
    $this->max_execution_time = 60;
    // 1 min
    $this->pcre_backtrack_limit = 1000 * 1000;
    $this->pcre_recursion_limit = 500 * 1000;
    $this->raise_php_limits = (bool) $raise_php_limits;
}