فهرست منبع

Fixing issue where tmp dir wasnt being set to system tmp dir in service container

Jonny Wenmoth 11 سال پیش
والد
کامیت
93ece77f7b
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/JonnyW/PhantomJs/DependencyInjection/ServiceContainer.php

+ 1 - 0
src/JonnyW/PhantomJs/DependencyInjection/ServiceContainer.php

@@ -57,6 +57,7 @@ class ServiceContainer extends ContainerBuilder
         $loader->load('config.yml');
         $loader->load('services.yml');
 
+        $this->setParameter('phantomjs.cache_dir', sys_get_temp_dir());
         $this->setParameter('phantomjs.resource_dir', __DIR__.'/../Resources');
     }
 }