REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 2.62 KB
Close
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger/includes/Bootstrap.php
Text
Base64
<?php namespace Hostinger; use Hostinger\Admin\PluginSettings; use Hostinger\Admin\Jobs\JobInitializer; use Hostinger\Admin\Proxy; use Hostinger\LlmsTxtGenerator\LlmsTxtFileHelper; use Hostinger\LlmsTxtGenerator\LlmsTxtParser; use Hostinger\Rest\Routes; use Hostinger\Rest\SettingsRoutes; use Hostinger\Admin\Assets as AdminAssets; use Hostinger\Admin\Hooks as AdminHooks; use Hostinger\Admin\Menu as AdminMenu; use Hostinger\Admin\Redirects as AdminRedirects; use Hostinger\WpHelper\Config; use Hostinger\WpHelper\Requests\Client; use Hostinger\WpHelper\Utils; use Hostinger\LlmsTxtGenerator\LlmsTxtGenerator; defined( 'ABSPATH' ) || exit; class Bootstrap { protected Loader $loader; protected Utils $utils; protected Config $config; public function __construct() { $this->loader = new Loader(); $this->utils = new Utils(); $this->config = new Config(); } public function run(): void { $this->load_dependencies(); $this->set_locale(); $this->loader->run(); } private function load_dependencies(): void { $this->load_public_dependencies(); if ( is_admin() ) { $this->load_admin_dependencies(); } if ( defined( 'WP_CLI' ) && WP_CLI ) { new Cli(); } $plugin_settings = new PluginSettings(); $plugin_options = $plugin_settings->get_plugin_settings(); if ( $plugin_options->get_maintenance_mode() ) { require_once HOSTINGER_ABSPATH . 'includes/ComingSoon.php'; } } private function set_locale() { $plugin_i18n = new I18n(); $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' ); } private function load_admin_dependencies(): void { new AdminAssets(); new AdminHooks( $this->utils ); new AdminMenu(); new AdminRedirects(); new AdminRedirects(); } private function load_public_dependencies(): void { $client = new Client( 'https://wh-wordpress-proxy-api.hostinger.io', array( Config::TOKEN_HEADER => $this->utils->getApiToken(), Config::DOMAIN_HEADER => $this->utils->getHostInfo(), ) ); new JobInitializer( new Proxy( $client, $this->utils ) ); new Hooks(); $plugin_settings = new PluginSettings(); new LlmsTxtGenerator( $plugin_settings, new LlmsTxtFileHelper(), new LlmsTxtParser() ); $settings_routes = new SettingsRoutes( $plugin_settings ); $routes = new Routes( $settings_routes ); $routes->init(); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 6 × Files: 13
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Admin
DIR
-
drwxr-xr-x
2026-06-14 00:11:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Cli
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LlmsTxtGenerator
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Mcp
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Rest
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Views
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Activator.php
734 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Bootstrap.php
2.62 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Cli.php
814 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ComingSoon.php
2.65 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Deactivator.php
136 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DefaultOptions.php
1.68 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Errors.php
1.29 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Helper.php
5.15 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Hooks.php
5.13 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Hostinger.php
1.13 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
I18n.php
389 B
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Loader.php
2.37 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Settings.php
2.61 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).