Skip to content

Commit

Permalink
store cache file in a temp dir suffixed by client id to avoid error i…
Browse files Browse the repository at this point in the history
…f several websites are on the same server
  • Loading branch information
paulandrieux committed Oct 19, 2015
1 parent 9d19f84 commit 66b5e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/MangopayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct($clientId, $clientPassword, $baseUrl, EventDispatche
parent::__construct();
$this->Config->ClientId = $clientId;
$this->Config->ClientPassword = $clientPassword;
$this->Config->TemporaryFolder = sys_get_temp_dir();
$this->Config->TemporaryFolder = sys_get_temp_dir().'/'.$clientId;
$this->Config->BaseUrl = $baseUrl;
$this->Config->DebugMode = $debug;
$this->dispatcher = $dispatcher;
Expand Down

0 comments on commit 66b5e4a

Please sign in to comment.