Skip to content

Commit

Permalink
Revert "Work on #2912 - More robust path handling in FileCache."
Browse files Browse the repository at this point in the history
This reverts commit eff8c20.
  • Loading branch information
weitzman committed Oct 1, 2017
1 parent eff8c20 commit 8e0638b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Cache/FileCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

namespace Drush\Cache;

use Webmozart\PathUtil\Path;

/**
* Default cache implementation.
*
Expand Down Expand Up @@ -160,6 +158,6 @@ public function isEmpty()
*/
protected function getFilePath($cid)
{
return Path::join($this->directory, str_replace(array(':'), '.', $cid) . self::EXTENSION);
return $this->directory . '/' . str_replace(array(':'), '.', $cid) . self::EXTENSION;
}
}

0 comments on commit 8e0638b

Please sign in to comment.