Skip to content

Commit 631c556

Browse files
committed
adding registerplugin call
1 parent ffccdc1 commit 631c556

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public static function getQueue(GenericEvent $event)
9797
myadmin_log(self::$module, 'error', 'Call '.$serviceInfo['action'].' for VPS '.$serviceInfo['vps_hostname'].'(#'.$serviceInfo['vps_id'].'/'.$serviceInfo['vps_vzid'].') Does not Exist for '.self::$name, __LINE__, __FILE__, self::$module, $serviceInfo['vps_id'], true, false, $serviceInfo['vps_custid']);
9898
} else {
9999
$smarty = new \TFSmarty();
100+
$smarty->registerPlugin('modifier', 'escapeshellarg', 'escapeshellarg');
100101
$smarty->assign($serviceInfo);
101102
$output = $smarty->fetch(__DIR__.'/../templates/'.$serviceInfo['action'].'.sh.tpl');
102103
myadmin_log(self::$module, 'info', 'Queue '.$server_info[$settings['PREFIX'].'_name'].' '.$output, __LINE__, __FILE__, self::$module, $serviceInfo['vps_id'], true, false, $serviceInfo['vps_custid']);

0 commit comments

Comments
 (0)