moved _fetch_resource_info and _parse_resource_name back into Smarty.class.php

renamed smarty_include and smarty_eval wrappers to _include and _eval
This commit is contained in:
messju
2003-07-23 16:14:47 +00:00
parent c97878d7fe
commit f66b646479
11 changed files with 167 additions and 193 deletions

View File

@@ -40,9 +40,9 @@ function smarty_core_run_insert_handler($params, &$smarty)
}
if ($_params['resource_type'] == 'file') {
$smarty->smarty_include_once($_params['php_resource']);
$smarty->_include($_params['php_resource'], true);
} else {
$smarty->smarty_eval($_params['php_resource']);
$smarty->_eval($_params['php_resource']);
}
unset($params['args']['script']);
}