HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux box12.multicloud.host 4.18.0-553.52.1.el8_10.x86_64 #1 SMP Wed May 14 09:36:12 EDT 2025 x86_64
User: kashmira (1008)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //usr/local/softaculous/enduser/hooks/pre_mail.txt
<?php

/**
 * This is a HOOK POINT in the Softaculous before installation Email process.
 * NOTE : You must rename this file to pre_mail.php
 */
 
//////////////////////////////////////////////////////////////
//===========================================================
// pre_install.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 any mail is sent (e.g installing scripts, removing scripts, etc)
 * $array which is being passed as the param in function , it will have details of the email message.
 *
 * @package      hooks 
 * @author       Chirag Nagda
 * @return       bool
 * @since     	 4.0.9
 */
function __pre_mail($array){	
	global $globals;
	
	// Do stuff here
}

?>