1
0
mirror of https://e.coding.net/circlecloud/MinecraftAccount.git synced 2025-11-25 21:36:08 +00:00

首次提交...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092
2015-11-01 22:25:03 +08:00
commit 2003fda7cb
409 changed files with 77938 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?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;
}
?>