Если кто-то найдёт топик позже,
сейчас можно создать файл error.php в корне сайта, в случае его наличия - вместо этого текста отдаётся содержимое:
[CODE] $p = Main\IO\Path::convertRelativeToAbsolute("/error.php");
if (Main\IO\File::isFileExists($p))
{
include($p);
}
else
{
$context = Main\Application::getInstance();
if ($context)
echo Main\Localization\Loc::getMessage("eho_render_exception_message");
else
echo "A error occurred during execution of this script. You can turn on extended error reporting in .settings.php file.";
}
[/CODE]
сейчас можно создать файл error.php в корне сайта, в случае его наличия - вместо этого текста отдаётся содержимое:
[CODE] $p = Main\IO\Path::convertRelativeToAbsolute("/error.php");
if (Main\IO\File::isFileExists($p))
{
include($p);
}
else
{
$context = Main\Application::getInstance();
if ($context)
echo Main\Localization\Loc::getMessage("eho_render_exception_message");
else
echo "A error occurred during execution of this script. You can turn on extended error reporting in .settings.php file.";
}
[/CODE]