새로 생성되는 디렉토리의 퍼미션은 755 로, 파일은 644 로 설정하며, 상수로 적용
This commit is contained in:
1 parent
38642e2ade
commit
ca925cdaaf
12 files changed
+37
-33
No files matched your search
+1
-1
@@ -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