It is believed that you should not search in the whole system for the bin file of wkhtmltopdf.
Reasons:
1. I could have downloaded it and I am using it placed somewhere else.
2. We cannot waste system resources searching for any third party lib. It seems it will happen each time report is printed!
3. I could rename too.
4. Its a third party library. Logically, similar to addons-path. So better to configure rather than code.
5. It might be possible that there is no enough access for the user to access the PATH you wrote.
Hope this justifies, but final decision can still be of C2C.
Olivier,
It is believed that you should not search in the whole system for the bin file of wkhtmltopdf.
Reasons:
1. I could have downloaded it and I am using it placed somewhere else.
2. We cannot waste system resources searching for any third party lib. It seems it will happen each time report is printed!
3. I could rename too.
4. Its a third party library. Logically, similar to addons-path. So better to configure rather than code.
5. It might be possible that there is no enough access for the user to access the PATH you wrote.
Hope this justifies, but final decision can still be of C2C.
Regards,
Serpent Consulting Services.