title: How to define path
body: <p>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</p>
  
  <p>like ......</p>
  
  <p>when i work on local ... i use this path</p>
  
  <pre><code> $filenam = "C:/xampp/htdocs/application/public/pdf_profile/$pdfname.html";
  </code></pre>
  
  <p>when i upload this particular file... i need to make change  ..in this path ..like this </p>
  
  <pre><code>$filenam = $_SERVER['DOCUMENT_ROOT']."/public/pdf_profile/$pdfname.html"; 
  </code></pre>
  
  <p>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 </p>
  
  <p>thanks in advance !</p>