Web lists-archives.com

Re: [PHP] Detect php filepath




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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php