새로 생성되는 디렉토리의 퍼미션은 755 로, 파일은 644 로 설정하며, 상수로 적용

This commit is contained in:
gnuboard
2013-07-12 16:25:16 +09:00
parent 38642e2ade
commit ca925cdaaf
12 changed files with 37 additions and 33 deletions

View File

@ -159,7 +159,7 @@ function icon($act, $link='', $target='_parent')
function rm_rf($file)
{
if (file_exists($file)) {
@chmod($file,0777);
@chmod($file, G4_FILE_PERMISSION);
if (is_dir($file)) {
$handle = opendir($file);
while($filename = readdir($handle)) {