D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
sitepad
/
hooks
/
Filename :
filter.txt
back
Copy
<?php /** * This is a FILTER POINT in SitePad. * NOTE : You must rename this file to filter.php */ ////////////////////////////////////////////////////////////// //=========================================================== // filter.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('SITEPAD') && !defined('SITEMUSH')){ die('Hacking Attempt'); } /* // Use this filter to modify the list of domains that will be used by SitePad insert_filter('domains_list', 'my_domains_list', 1, 1); // @param array $domains List of Domains function my_domains_list($domains){ // Add your custom code here $domains['my.domain.com'] = '/home/username/public_html/mydomain/'; return $domains; } */