<?php
function smarty_function_call_webservice($params, &$smarty) {
    require_once 'webservice//WebService.php';
    $service = WebService::factory($params['path']);
    if ($service[0] != null) {
        $ret = $service[0]->execute($params['data']);
        $smarty->assign($params['assign'], $ret);
    }
}
?>


<?php
function smarty_function_call_webservice($params, &$smarty) {
    $service = WebService::factory($params['path']);
    if ($service[0] != null) {
        $ret = $service[0]->execute($params['data']);
        $smarty->assign($params['assign'], $ret);
    }
}
?>


Remove obsolete require_once in smarty plugin
Remove obsolete require_once in smarty plugin
