Re: Detect php filepath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux