plugin dir order
| From: | Monte Ohrt | Date: | Wed, 26 Jun 2002 16:24:15 +0000 |
| Subject: | plugin dir order | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-167@lists.php.net to get a copy of this message | ||
How should the order of plugin dirs be searched for a relative path?
For instance:
$plugin_dir = array('./plugins');
Currently, Smarty will search for this directory as follows:
1) look relative to currently executing script
2) look relative to SMARTY_DIR
3) look relative to each entry in PHP include_path
Does this sound like a good method? If you had identical plugin directories in each location, what order would you expect them to be checked?
Monte