Skip to content

Commit

Permalink
Create module cache dir in recursive mode (#606)
Browse files Browse the repository at this point in the history
* Create module cache dir in recursive mode

* Bump version to 2.3.1
  • Loading branch information
sowbiba authored Aug 3, 2023
1 parent 544d33e commit 918a0c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<module>
<name>ps_mbo</name>
<displayName><![CDATA[PrestaShop Marketplace in your Back Office]]></displayName>
<version><![CDATA[2.3.0]]></version>
<version><![CDATA[2.3.1]]></version>
<description><![CDATA[Discover the best PrestaShop modules to optimize your online store.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[administration]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
</module>
4 changes: 2 additions & 2 deletions ps_mbo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 918a0c9

Please sign in to comment.