<?php
// Copyright 1999-2026. WebPros International GmbH. All rights reserved.
?>
<div id="app"></div>
<script>window.__INITIAL_DATA__ = <?=json_encode([
    'locale' => Zend_Registry::get('translate')->getSection('controllers.error.error'),
    'code' => (string)($this->exception instanceof PleskException
        ? $this->exception->getHttpCode()
        : ($this->exception instanceof \Slim\Exception\HttpSpecializedException ? $this->exception->getCode() : 500)),
    'noRepairKit' => !$this->repairKitUrl,
    'kbArticleUrl' => $this->kbArticleUrl,
    'exception' => [
        'type' => get_class($this->exception),
        'message' => $this->exception->getMessage(),
        'file' => $this->showDetails ? $this->exception->getFile() : basename($this->exception->getFile()),
        'line' => $this->exception->getLine(),
        'stackTrace' => $this->stackTrace,
        'codeFragment' => $this->codeFragment,
    ],
])?></script>
<script type="text/javascript" src="<?=$this->cacheStamp('/error_docs/app.js')?>"></script>
