⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
View File Name :
Shutdown.php
* @category Horde * @copyright 2013-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Core * @since 2.4.0 */ class Horde_Shutdown { /** * Tasks. * * @var array */ private $_tasks = array(); /** * Add a task to the global Horde shutdown queue. * * @param Horde_Shutdown_Task $task Task to add. */ public static function add(Horde_Shutdown_Task $task) { $GLOBALS['injector']->getInstance('Horde_Shutdown')->addTask($task); } /** * Constructor. */ public function __construct() { register_shutdown_function(array($this, 'runTasks')); } /** * Add a task to the shutdown queue. * * @param Horde_Shutdown_Task $task Task to add. */ public function addTask(Horde_Shutdown_Task $task) { $this->_tasks[get_class($task)] = $task; } /** * Run shutdown tasks. */ public function runTasks() { foreach ($this->_tasks as $val) { try { $val->shutdown(); } catch (Exception $e) {} } } }