| Server IP : 88.222.222.219 / 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;
use Hostinger\Bootstrap;
defined( 'ABSPATH' ) || exit;
class Hostinger {
protected string $plugin_name = 'Hostinger';
protected string $version;
/**
* @return void
*/
public function bootstrap(): void {
$this->version = $this->get_plugin_version();
$bootstrap = new Bootstrap();
$bootstrap->run();
}
/**
* @return void
*/
public function run(): void {
$this->bootstrap();
}
/** PHPCS:disable WordPress.NamingConventions.PrefixAllGlobals.VariableConstantNameFound */
/**
* Define constant
*
* @param string $name Constant name.
* @param string|bool $value Constant value.
*/
private function define( string $name, $value ): void {
if ( ! defined( $name ) ) {
define( $name, $value );
}
}
/** PHPCS:enable */
/**
* @return string
*/
private function get_plugin_version(): string {
if ( defined( 'HOSTINGER_VERSION' ) ) {
return HOSTINGER_VERSION;
}
return '1.0.0';
}
}
Anon7 - 2022
AnonSec Team
