Hello ! I know it may be simple question to all experienced developer.. I have trapped with the problem that how to set the path in bootstrap file
like ......
when i work on local ... i use this path
$filenam = "C:/xampp/htdocs/application/public/pdf_profile/$pdfname.html";
when i upload this particular file... i need to make change ..in this path ..like this
$filenam = $_SERVER['DOCUMENT_ROOT']."/public/pdf_profile/$pdfname.html";
i want to know is there any solution to prevent change again n again .. like any change in bootstrap file .. how to define path in this way that i have no need to worry about path.. at time of local or live Basically am working with zend
thanks in advance !