새로 생성되는 디렉토리의 퍼미션은 755 로, 파일은 644 로 설정하며, 상수로 적용
This commit is contained in:
@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user