I wrote a custom *.config.php
file, and I want to return errors in a more graceful way using OC_Template
. However, OC_Template
requires \OC\Server
to be loaded, and \OC\Server
requires . . . \OC\Config
. Yeah. I tried simply including the error.php
template, but that requires LazyL10N
, and that requires this, that, and the other.
Without writing my own error template, is there a way to use the existing templates from a custom *.config.php
?