mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Fix permission.
This commit is contained in:
parent
4c6d8c1a31
commit
34ff8ad95b
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ $path = null;
|
|||
|
||||
if (is_dir($dir)) {
|
||||
} else {
|
||||
mkdir($dir, 0644, true);
|
||||
mkdir($dir, 0755, true);
|
||||
}
|
||||
|
||||
if (isset($_FILES)) {
|
||||
|
|
@ -42,4 +42,4 @@ echo json_encode(array(
|
|||
'name' => $name,
|
||||
'error' => $error,
|
||||
));
|
||||
die();
|
||||
die();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue