We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68ad16a commit 0843aaaCopy full SHA for 0843aaa
src/phpFastCache/Core/PathSeekerTrait.php
@@ -32,7 +32,7 @@ trait PathSeekerTrait
32
*/
33
public function getPath($getBasePath = false)
34
{
35
- $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';
36
37
if (!isset($this->config[ 'path' ]) || $this->config[ 'path' ] == '') {
38
if (self::isPHPModule()) {
0 commit comments