From 87f3323e4604670ac3e925c96ca630bfbfd686d7 Mon Sep 17 00:00:00 2001 From: John Flatness Date: Fri, 18 Nov 2022 15:59:25 -0500 Subject: [PATCH] Disable definition caching (eliminates warnings about non-writable cache directory) --- CSSEditorPlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CSSEditorPlugin.php b/CSSEditorPlugin.php index b845020..2015653 100644 --- a/CSSEditorPlugin.php +++ b/CSSEditorPlugin.php @@ -41,6 +41,7 @@ public function hookConfig($args) $config->set('CSS.Trusted', TRUE); $config->set('HTML.DefinitionID', 'html5-definitions'); // unqiue id $config->set('HTML.DefinitionRev', 1); + $config->set('Cache.DefinitionImpl', null); if ($def = $config->maybeGetRawHTMLDefinition()) {