This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/smarty/plugins/function.exe.php

22 lines
476 B
PHP
Raw Normal View History

<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* File: function.exe.php
* Type: function
* Name: exe
* -------------------------------------------------------------
*/
function smarty_function_exe($params, &$smarty)
{
extract($params);
include_once(PATH_CORE.'method.inc.php');
$m = new CORE_method;
if(!empty($noauth))
$m->exe_noauth($module,$method);
else
echo $m->exe($module,$method);
}
?>