Hi, I'm need to scan WordPress applications. How can I use pm_Hook_Applications for scan applications?
I'm created Applilcations.php file on
path and here is my code;
I'm created Applilcations.php file on
Code:
/usr/local/psa/admin/plib/modules/wys-center/hooks
Code:
<?php
class Modules_WysCenter_Applications implements pm_Hook_Applications
{
/**
* Handle application scan event
* @param pm_Domain $domain
*/
public function scan($domain) {
}
/**
* Filter application to handle it by using a specific non-APS resources
*
* @param pm_Domain $domain
* @param string $path
* @return bool
*/
public function isFiltered($domain, $path) { }
}
Last edited: