Browse Source

add leading zero to mkdir access code

main
ghost 2 years ago
parent
commit
bd99dcb023
  1. 2
      crontab/crawler.php

2
crontab/crawler.php

@ -403,7 +403,7 @@ try {
$directory = chunk_split($queueHostPage->hostPageId, 1, '/'); $directory = chunk_split($queueHostPage->hostPageId, 1, '/');
@mkdir('../public/snap/hp/' . $directory, 755, true); @mkdir('../public/snap/hp/' . $directory, 0755, true);
$zip = new ZipArchive(); $zip = new ZipArchive();

Loading…
Cancel
Save