Initial Commit of AgileBill Open Source
This commit is contained in:
22
includes/smarty/plugins/function.exe.php
Normal file
22
includes/smarty/plugins/function.exe.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user