HEX
Server: LiteSpeed
System: Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: swifizcd (1555)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //opt/cpanel/ea-ruby27/root/usr/share/passenger/templates/error_renderer/with_details/src/index.jsx
/** @jsx h */
import { render, h } from 'preact';
import 'jquery';
import './bootstrap/bootstrap.css';
import './bootstrap/bootstrap.js';
import PageMain from './PageMain.jsx';
import './PageMain.css';

window.errorPageExtensions = [];

function initialize(pageMain) {
  window.ErrorPage = pageMain;
  for (var i = 0; i < window.errorPageExtensions.length; i++) {
    window.errorPageExtensions[i]();
  }
}

window.renderErrorPage = function() {
  render(
    <PageMain spec={window.spec} ref={ initialize } />,
    document.getElementById('root')
  );
}