Skip to content

Commit

Permalink
Fixed #294
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jun 24, 2016
1 parent 68ad16a commit 0843aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phpFastCache/Core/PathSeekerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ trait PathSeekerTrait
*/
public function getPath($getBasePath = false)
{
$tmp_dir = ini_get('upload_tmp_dir') ? ini_get('upload_tmp_dir') : sys_get_temp_dir();
$tmp_dir = rtrim(ini_get('upload_tmp_dir') ? ini_get('upload_tmp_dir') : sys_get_temp_dir(), '\\/') . DIRECTORY_SEPARATOR . 'phpfastcache';

if (!isset($this->config[ 'path' ]) || $this->config[ 'path' ] == '') {
if (self::isPHPModule()) {
Expand Down

0 comments on commit 0843aaa

Please sign in to comment.