From 918a0c90e094c8d8b5ac7d7cdcd5a015dec0b6dd Mon Sep 17 00:00:00 2001 From: Ibrahima SOW Date: Thu, 3 Aug 2023 14:15:41 +0000 Subject: [PATCH] Create module cache dir in recursive mode (#606) * Create module cache dir in recursive mode * Bump version to 2.3.1 --- config.xml | 4 ++-- ps_mbo.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.xml b/config.xml index febea8876..47cf399ec 100644 --- a/config.xml +++ b/config.xml @@ -2,11 +2,11 @@ ps_mbo - + 0 0 - \ No newline at end of file + diff --git a/ps_mbo.php b/ps_mbo.php index e7b06c669..4160ee58c 100644 --- a/ps_mbo.php +++ b/ps_mbo.php @@ -159,7 +159,7 @@ class ps_mbo extends Module public function __construct() { $this->name = 'ps_mbo'; - $this->version = '2.3.0'; + $this->version = '2.3.1'; $this->author = 'PrestaShop'; $this->tab = 'administration'; $this->module_key = '6cad5414354fbef755c7df4ef1ab74eb'; @@ -1073,7 +1073,7 @@ private function callServiceWithLockFile(string $method, array $params = []) // Create the lock file if (!file_exists($lockFile)) { if (!is_dir($this->moduleCacheDir)) { - mkdir($this->moduleCacheDir); + mkdir($this->moduleCacheDir, 0777, true); } $f = fopen($lockFile, 'w+'); fclose($f);