ThinkPHP/Library/Vendor/TemplateLite/internal/template.build_dir.php
(完整代码) 514B<?php
/**
* Template Lite template_build_dir template internal module
*
* Type: template
* Name: template_build_dir
*/
function template_build_dir($dir, $id, &$object)
{
$_args = explode('|', $id);
if (count($_args) == 1 && empty($_args[0]))
{
return $object->_get_dir($dir);
}
$_result = $object->_get_dir($dir);
foreach($_args as $value)
{
$_result .= $value.DIRECTORY_SEPARATOR;
if (!is_dir($_result))
{
@mkdir($_result, 0777);
}
}
return $_result;
}
?>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
