Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

The phantomjs command was not found #2

Open
scorpjio opened this issue Nov 27, 2015 · 0 comments
Open

The phantomjs command was not found #2

scorpjio opened this issue Nov 27, 2015 · 0 comments

Comments

@scorpjio
Copy link

In vendor/gears/pdf/src/Pdf/Html/Backend.php
We have this code:

if (is_dir(DIR.'/../../../vendor'))
{
$bin = DIR.'/../../../vendor/bin/phantomjs';
}
else
{
$bin = DIR.'/../../../../bin/phantomjs';
}

I think we need to go out one more directory to get into the right place, like this

if (is_dir(DIR.'/../../../../vendor'))
{
$bin = DIR.'/../../../../vendor/bin/phantomjs';
}
else
{
$bin = DIR.'/../../../../../bin/phantomjs';
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant