typo in variable, should fix customer-file-deletion
This commit is contained in:
@@ -216,7 +216,7 @@ while($row = $db->fetch_array($result_tasks))
|
|||||||
|
|
||||||
if($homedir != '/'
|
if($homedir != '/'
|
||||||
&& $homedir != $settings['system']['documentroot_prefix']
|
&& $homedir != $settings['system']['documentroot_prefix']
|
||||||
&& substr($homedirdir, 0, strlen($settings['system']['documentroot_prefix'])) == $settings['system']['documentroot_prefix'])
|
&& substr($homedir, 0, strlen($settings['system']['documentroot_prefix'])) == $settings['system']['documentroot_prefix'])
|
||||||
{
|
{
|
||||||
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($homedir));
|
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($homedir));
|
||||||
safe_exec('rm -rf '.escapeshellarg($homedir));
|
safe_exec('rm -rf '.escapeshellarg($homedir));
|
||||||
|
|||||||
Reference in New Issue
Block a user