⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
softaculous
/
enduser
/
hooks
/
View File Name :
pre_update_email.txt
<?php /** * This is a HOOK POINT in the Softaculous Upgradation process. * NOTE : You must rename this file to pre_upgrade.php */ ////////////////////////////////////////////////////////////// //=========================================================== // pre_upgrade.php //=========================================================== // SOFTACULOUS // Version : 1.1 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } /** * This function will be called whenever an UPDATE becomes available for a script AND before an email is sent to the user * informing him about the update * * @package hooks * @author Pulkit Gupta * @return bool * @since 4.0 */ function __pre_update_email(){ global $globals, $ins_list, $updated_scripts, $scripts; ////////////////////////////////////////////////////////////////////////////////// // $ins_list - Will contain the details of the OUTDATED installations // of all users immediately when AN update becomes available // $updated_scripts - The scripts which just got updated // $scripts - Detailed information about the all script. ////////////////////////////////////////////////////////////////////////////////// foreach($ins_list as $username => $scriptwise){ // Do what needs to be done ! // $scriptwise will now contain the list of installations in the format of array(SCRIPTID => array()); foreach($scriptwise as $_sid => $_ins){ // Loop through the installations foreach($_ins as $kk => $vv){ } } } } ?>