Skip to content
Snippets Groups Projects
Commit b45c70c9 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Use a custom tmp directory

parent 9337f439
No related branches found
No related tags found
4 merge requests!15WIP: Support WDN version 5.3,!8Update for elgg upgrade,!3Develop,!1Git fixes
vagrant/dev/.vagrant vagrant/dev/.vagrant
data data
tmp
...@@ -142,7 +142,7 @@ class UnlCAS { ...@@ -142,7 +142,7 @@ class UnlCAS {
$driver = new Stash\Driver\FileSystem(); $driver = new Stash\Driver\FileSystem();
// Setting a custom path is done by passing an options array to the constructor. // Setting a custom path is done by passing an options array to the constructor.
$options = array('path' => sys_get_temp_dir() .'/elgg_session_map_' . md5(__DIR__)); $options = array('path' => __DIR__ .'/../../tmp/elgg_session_map');
$driver->setOptions($options); $driver->setOptions($options);
$pool = new Stash\Pool($driver); $pool = new Stash\Pool($driver);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment