Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 9a4604d

Browse files
committed
Use Resource config files from jonnyw php-phantomjs package in vendor directory
1 parent de7996b commit 9a4604d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhantomJsServiceContainer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ public static function getInstance()
5050
*/
5151
public function load($file = null)
5252
{
53-
$loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../Resources/config'));
53+
$loader = new YamlFileLoader($this, new FileLocator(__DIR__.'/../../../jonnyw/php-phantomjs/src/JonnyW/PhantomJs/Resources/config'));
5454
$loader->load('config.yml');
5555
$loader->load('services.yml');
5656

5757
$this->setParameter('phantomjs.cache_dir', sys_get_temp_dir());
58-
$this->setParameter('phantomjs.resource_dir', __DIR__.'/../Resources');
58+
$this->setParameter('phantomjs.resource_dir', __DIR__.'/../../../jonnyw/php-phantomjs/src/JonnyW/PhantomJs/Resources');
5959
}
6060
}

0 commit comments

Comments
 (0)