note 72431 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:00:56 +0000 |
| Subject: | note 72431 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155468@lists.php.net to get a copy of this message | ||
Note Submitter: dionyziz at deviantart dot com
----
In reply to the last anonymous note, this is exactly the way mediawiki code handles this problem.
They have various-depth include paths.
So, for instance, inside includes/normal/UtfNormal.php (as of revision 19455) they do:
<?php
require_once dirname(__FILE__).'/UtfNormalUtil.php';
?>
...to include the file includes/normal/UtfNormal.php.