From bd025632d4d1518eb3ffa191369d940a0bc0bb4e Mon Sep 17 00:00:00 2001 From: gtbu <60353863+g7sim@users.noreply.github.com> Date: Mon, 24 Apr 2023 18:44:48 +0200 Subject: [PATCH] Less-Update Css.php $parser->cache_method = 'php'; Creation of dynamic property Less_Parser::$cache_method is deprecated */ --- include/tool/Output/Css.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tool/Output/Css.php b/include/tool/Output/Css.php index eefcaa9..3b18387 100644 --- a/include/tool/Output/Css.php +++ b/include/tool/Output/Css.php @@ -261,8 +261,8 @@ class Css{ $import_dirs[$dataDir] = \gp\tool::GetDir('/'); $parser->SetImportDirs($import_dirs); - - $parser->cache_method = 'php'; + /* $parser->cache_method = 'php'; Creation of dynamic property Less_Parser::$cache_method is deprecated */ + $parser::$options['cache_method'] == 'php'; $parser->SetCacheDir($dataDir . '/data/_cache'); // combine files