Less-Update Css.php

$parser->cache_method = 'php'; Creation of dynamic property Less_Parser::$cache_method is deprecated */
This commit is contained in:
gtbu 2023-04-24 18:44:48 +02:00
parent 242963b878
commit bd025632d4
1 changed files with 2 additions and 2 deletions

View File

@ -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