REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 1.20 KB
Close
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger-reach/src/Setup/Activator.php
Text
Base64
<?php namespace Hostinger\Reach\Setup; use Hostinger\Reach\Boot; if ( ! defined( 'ABSPATH' ) ) { die; } class Activator { public function __construct( string $plugin_file_name ) { register_activation_hook( $plugin_file_name, array( $this, 'activate_plugin' ) ); add_action( 'plugins_loaded', array( $this, 'boot' ) ); add_action( 'admin_init', array( $this, 'maybe_redirect' ) ); } public function activate_plugin(): void { if ( has_action( 'litespeed_purge_all' ) ) { do_action( 'litespeed_purge_all' ); } add_option( 'hostinger_reach_activation_redirect', true ); } public function maybe_redirect(): void { if ( ! get_option( 'hostinger_reach_activation_redirect' ) ) { return; } delete_option( 'hostinger_reach_activation_redirect' ); $referer = wp_get_referer(); if ( ! $referer || strpos( $referer, 'plugin-install.php' ) === false ) { return; } wp_safe_redirect( admin_url( 'admin.php?page=hostinger-reach' ) ); exit; } public function boot(): void { $boot = Boot::get_instance(); $boot->plugins_loaded(); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Activator.php
1.20 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Assets.php
26.55 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Blocks.php
882 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Database.php
856 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Encrypt.php
1.34 KB
lrw-r--r--
2026-06-10 16:30:29
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).