llaumgui
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Not compatible with PHP Alpine Docker imageNot possible to patch for alpine Linux ?
Search :
$script_path = $this->fix_wp_subfolder($script_path);
And replace b my code.This is seem fix my issues :
if (strpos($script_path, 'wp-content') === false || !defined('WP_CONTENT_DIR')) { $script_path = $this->fix_wp_subfolder($script_path); }Forum: Plugins
In reply to: [Merge + Minify + Refresh] Not compatible with PHP Alpine Docker imageWork with this patch:
32d31 < private $globbrace = 0; 48,52c47 < /* < Check if GLOB_BRACE is defined before using it < */ < $this->globbrace = (defined('GLOB_BRACE')) ? GLOB_BRACE : 0; < --- > 161c156 < $files = glob(MMR_CACHE_DIR.'/*.log', $this->globbrace); --- > $files = glob(MMR_CACHE_DIR.'/*.log', GLOB_BRACE); 230c225 < $files = glob(MMR_CACHE_DIR.'/'.$hash.'*.log', $this->globbrace); --- > $files = glob(MMR_CACHE_DIR.'/'.$hash.'*.log', GLOB_BRACE); 232c227 < $files = glob(MMR_CACHE_DIR.'/*.log', $this->globbrace); --- > $files = glob(MMR_CACHE_DIR.'/*.log', GLOB_BRACE); 253c248 < foreach(glob($dir.'/{,.}*', $this->globbrace) as $file) { --- > foreach(glob($dir.'/{,.}*', GLOB_BRACE) as $file) { 291c286 < $files = glob(MMR_CACHE_DIR.'/*.{js,css}', $this->globbrace); --- > $files = glob(MMR_CACHE_DIR.'/*.{js,css}', GLOB_BRACE);
Viewing 4 replies - 1 through 4 (of 4 total)