HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ekspardev (1006)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
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')
  );
}