Use PHP formatter rendering engine

Removes dependency on XSLT extension
This commit is contained in:
Toby Zerner 2015-08-26 09:34:49 +09:30
parent 3490e8887b
commit bde590b5a6

View File

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