| Server IP : 77.37.53.249 / Your IP :
216.73.217.50 [
Web Server : LiteSpeed System : Linux nl-srv-web1124.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : u964240598 ( 964240598) PHP Version : 8.4.19 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u964240598/public_html/jobs/wp-content/plugins/hostinger/includes/ |
Upload File : |
<?php
namespace Hostinger;
defined( 'ABSPATH' ) || exit;
class Activator {
public const INSTALLATION_OPTION_NAME = 'hts_new_installation';
/**
* @return void
*/
public static function activate(): void {
$options = new DefaultOptions();
$options->add_options();
self::update_installation_state_on_activation();
}
/**
* Saves installation state.
*
* @return void
*/
public static function update_installation_state_on_activation(): void {
$installation_state = get_option( self::INSTALLATION_OPTION_NAME, false );
if ( $installation_state !== 'old' ) {
add_option( self::INSTALLATION_OPTION_NAME, 'new' );
}
}
}
Anon7 - 2022
AnonSec Team
