mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +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 = new Configurator;
|
||||||
$configurator->rootRules->enableAutoLineBreaks();
|
$configurator->rootRules->enableAutoLineBreaks();
|
||||||
|
|
||||||
|
$configurator->rendering->engine = 'PHP';
|
||||||
|
$configurator->rendering->engine->cacheDir = storage_path() . '/app';
|
||||||
|
|
||||||
$configurator->Escaper;
|
$configurator->Escaper;
|
||||||
$configurator->Autoemail;
|
$configurator->Autoemail;
|
||||||
$configurator->Autolink;
|
$configurator->Autolink;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user