From bd99dcb023b87aecc665e9e352e3fb8709bb3a89 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 14 May 2023 05:43:03 +0300 Subject: [PATCH] add leading zero to mkdir access code --- crontab/crawler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crontab/crawler.php b/crontab/crawler.php index 3fe1171..ecdcf72 100644 --- a/crontab/crawler.php +++ b/crontab/crawler.php @@ -403,7 +403,7 @@ try { $directory = chunk_split($queueHostPage->hostPageId, 1, '/'); - @mkdir('../public/snap/hp/' . $directory, 755, true); + @mkdir('../public/snap/hp/' . $directory, 0755, true); $zip = new ZipArchive();