File manager - Edit - /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks/post_adddomain.txt
Back
<?php /** * This is a Post HOOK POINT in the Aefer Add Domain process. * NOTE : You must rename this file to post_adddomain.php */ ////////////////////////////////////////////////////////////// //=========================================================== // post_adddomain.php //=========================================================== // SOFTACULOUS // Version : 2.3.3 // 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 after a Domain Add process is completed. * $iapps will have details of the apps being installed. * * @package hooks * paramaeter $did Is the new inserted Domain Name * @return bool * @since 2.3.3 */ function __post_adddomain($did){ global $softpanel, $globals; // Do stuff here // e.g. is for if you want to perform action only for apache } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings