Re: Detect php filepath
| From: | Narcis Garcia | Date: | Wed, 28 Sep 2016 13:37:46 +0000 |
| Subject: | Re: Detect php filepath | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325753@lists.php.net to get a copy of this message | ||
El 28/09/16 a les 15:29, Ashley Sheridan ha escrit:
>
>
> What's wrong with using one of the PSR autoloading methods for your plugin? That would be
> far more universal, as you could then treat it as any other plugin/module/tool installed with
> composer.
>
> Also, please try not to to post, it breaks formatting for the web archive and goes against the
> list rules.
>
> Thanks,
> Ash
>
I don't know that "PSR" style. I already have developed my code to
select files, language files and customized files to include in a
convenient combined way.
I see __FILE__ as necessary to use relative paths from plugin's main
index.php