Cloud Discovery RC1
Former-commit-id: 9933be0c76b44592783e686bfa2da9ab63df1022
This commit is contained in:
parent
8b5f50f883
commit
4289684e00
|
@ -150,6 +150,20 @@ class ConsoleSupervisor
|
|||
{
|
||||
global $config;
|
||||
|
||||
/*
|
||||
* PHP configuration warnings:
|
||||
* NOTIF.PHP.SAFE_MODE
|
||||
* NOTIF.PHP.INPUT_TIME
|
||||
* NOTIF.PHP.EXECUTION_TIME
|
||||
* NOTIF.PHP.UPLOAD_MAX_FILESIZE
|
||||
* NOTIF.PHP.MEMORY_LIMIT
|
||||
* NOTIF.PHP.DISABLE_FUNCTIONS
|
||||
* NOTIF.PHP.PHANTOMJS
|
||||
* NOTIF.PHP.VERSION
|
||||
*/
|
||||
|
||||
$this->checkPHPSettings();
|
||||
|
||||
/*
|
||||
* Check license.
|
||||
* NOTIF.LICENSE.EXPIRATION
|
||||
|
|
|
@ -275,7 +275,8 @@ sub exec_recon_script ($$$) {
|
|||
}
|
||||
|
||||
if (-x $command) {
|
||||
`$command $args`;
|
||||
my $exec_output = `$command $args`;
|
||||
logger ($pa_config, "Execution output: \n", $exec_output);
|
||||
} else {
|
||||
logger ($pa_config, "Cannot execute recon task command $command.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue