ThinkPHP/Extend/Vendor/TemplateLite/internal/template.fetch_compile_include.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

/**

 * Template Lite template_fetch_compile_include template internal module

 *

 * Type:	 template

 * Name:	 template_fetch_compile_include

 */



function template_fetch_compile_include($_templatelite_include_file, $_templatelite_include_vars, &$object)

{

	if ($object->debugging)

	{

		$object->_templatelite_debug_info[] = array('type'	  => 'template',

											'filename'  => $_templatelite_include_file,

											'depth'	 => ++$object->_inclusion_depth,

											'exec_time' => array_sum(explode(' ', microtime())) );

		$included_tpls_idx = count($object->_templatelite_debug_info) - 1;

	}



	$object->_vars = array_merge($object->_vars, $_templatelite_include_vars);

	$_templatelite_include_file = $object->_get_resource($_templatelite_include_file);

	if(isset($object->_confs[0]))

	{

		array_unshift($object->_confs, $object->_confs[0]);

		$_compiled_output = $object->_fetch_compile($_templatelite_include_file);

		array_shift($object->_confs);

	}

	else

	{

		$_compiled_output = $object->_fetch_compile($_templatelite_include_file);

后面还有 23 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。