403Webshell
Server IP : 104.21.14.103  /  Your IP : 18.116.69.53
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/vendor/woocommerce/action-scheduler/classes/schedules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_IntervalSchedule.php
<?php
if (!defined('ABSPATH')) exit;
class ActionScheduler_IntervalSchedule extends ActionScheduler_Abstract_RecurringSchedule implements ActionScheduler_Schedule {
 private $start_timestamp = NULL;
 private $interval_in_seconds = NULL;
 protected function calculate_next( DateTime $after ) {
 $after->modify( '+' . (int) $this->get_recurrence() . ' seconds' );
 return $after;
 }
 public function interval_in_seconds() {
 _deprecated_function( __METHOD__, '3.0.0', '(int)ActionScheduler_Abstract_RecurringSchedule::get_recurrence()' );
 return (int) $this->get_recurrence();
 }
 public function __sleep() {
 $sleep_params = parent::__sleep();
 $this->start_timestamp = $this->scheduled_timestamp;
 $this->interval_in_seconds = $this->recurrence;
 return array_merge( $sleep_params, array(
 'start_timestamp',
 'interval_in_seconds'
 ) );
 }
 public function __wakeup() {
 if ( is_null( $this->scheduled_timestamp ) && ! is_null( $this->start_timestamp ) ) {
 $this->scheduled_timestamp = $this->start_timestamp;
 unset( $this->start_timestamp );
 }
 if ( is_null( $this->recurrence ) && ! is_null( $this->interval_in_seconds ) ) {
 $this->recurrence = $this->interval_in_seconds;
 unset( $this->interval_in_seconds );
 }
 parent::__wakeup();
 }
}

Youez - 2016 - github.com/yon3zu
LinuXploit