note 54877 deleted from function.include by peehaa
| From: | peehaa@php.net | Date: | Fri, 09 Dec 2016 22:50:46 +0000 |
| Subject: | note 54877 deleted from function.include by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208393@lists.php.net to get a copy of this message | ||
Note Submitter: Ethilien
----
Another way of getting the proper include path relative to the current file, rather than the working
directory is:
<?php
include realpath(dirname(__FILE__) . "/" . "relative_path");
?>