This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
kiduc
/
bibiuc.com
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
59
Wiki
Activity
Browse Source
Fix permission.
pull/189/head
Danang Probo Sayekti
10 years ago
parent
4c6d8c1a31
commit
34ff8ad95b
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
upload.php
+ 2
- 2
upload.php
View File
@ -9,7 +9,7 @@ $path = null;
if
(
is_dir
(
$dir
))
{
}
else
{
mkdir
(
$dir
,
0
644
,
true
);
mkdir
(
$dir
,
0
755
,
true
);
}
if
(
isset
(
$_FILES
))
{
@ -42,4 +42,4 @@ echo json_encode(array(
'name'
=>
$name
,
'error'
=>
$error
,
));
die
();
die
();
Write
Preview
Loading…
Cancel
Save