chmod 0700 db directory
This commit is contained in:
parent
2945960433
commit
5b784858d3
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ if(!empty($_GET['url'])) {
|
|||
$hashfolderpath = './db/' . $hashfolder;
|
||||
$hashfilepath = $hashfolderpath . '/' . $hashfile;
|
||||
|
||||
mkdir($hashfolderpath, 0775, true);
|
||||
mkdir($hashfolderpath, 0700, true);
|
||||
|
||||
file_put_contents($hashfilepath, $url);
|
||||
echo '<a href="./?'.$urlhash.'">./?'.$urlhash.'</a><br />';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue