This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

23
_install/dir.func.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
//퍼미션변경
function DirChmod($t_dir,$mode)
{
$dirh = opendir($t_dir);
while(false !== ($filename = readdir($dirh)))
{
if($filename != '.' && $filename != '..')
{
if(!is_file($t_dir.'/'.$filename))
{
@chmod($t_dir.'/'.$filename,$mode);
DirChmod($t_dir.'/'.$filename,$mode);
}
else {
@chmod($t_dir.'/'.$filename,$mode);
}
}
}
closedir($dirh);
@chmod($t_dir,$mode);
}
?>