mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 23:53:42 +08:00
Use PHP formatter rendering engine
Removes dependency on XSLT extension
This commit is contained in:
parent
3490e8887b
commit
bde590b5a6
|
@ -22,6 +22,9 @@ class Formatter
|
|||
$configurator = new Configurator;
|
||||
$configurator->rootRules->enableAutoLineBreaks();
|
||||
|
||||
$configurator->rendering->engine = 'PHP';
|
||||
$configurator->rendering->engine->cacheDir = storage_path() . '/app';
|
||||
|
||||
$configurator->Escaper;
|
||||
$configurator->Autoemail;
|
||||
$configurator->Autolink;
|
||||
|
|
Loading…
Reference in New Issue
Block a user