HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //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')
  );
}