Posted By

stephcode on 06/07/11


Tagged

magic


Versions (?)

PHP require directory


 / Published in: PHP
 

  1. header.php:
  2.  
  3. <div id="nav-wrapper">
  4. <?php require(__DIR__ . '/main-nav.php'); ?>
  5. </div>

Report this snippet  

You need to login to post a comment.