Php line is working fine on localhost but not on live heroku server, even if I have the same file and folder structure.
require(APPPATH . '../../vendor/mpdf/mpdf/mpdf.php');
I am getting following error on heroku live server is:
PHP Fatal error: require(): Failed opening required 'application/../../vendor/mpdf/mpdf/mpdf.php' (include_path='.:/app/.heroku/php/lib/php') in /app/CI/application/libraries/PDFLib.php on line 5
spend a lot of time trying to figure out what could be the reasons behind this, any help will appreciated.