JPath.clean not works for phar:// or file://, for it will make // to /
like phar://a.phar/index.php, in the JControllerLegacy.addPath, will call the JPath.clean, then the JPath.clean will replace the phar://a.phar/index.php to phar:/a.phar/index.php then php will not find the file in phar
@roland-d I guess @Neugls mean support of Protocols and Wrappers http://php.net/manual/en/wrappers.php
yes, it's not support Protocols and Wrappers, and why joomla do not support phar
Category | ⇒ | Feature Request |
Labels |
Added:
?
|
@Neugls You asked why Joomla does not support phar, please see issue #4091 where the same question was asked.
As for the support of protocols and wrappers, I don't think that the clean() method is built with that intent. The JPath by it's very nature is meant to deal with local paths and nothing else.
As this is not something to be fixed, I am closing the issue. Thank you for your contribution.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-09-14 00:26:24 |
Closed_By | ⇒ | roland-d |
Hello @Neugls,
Joomla is not supposed to be run from a Phar archive but needs to be unpacked and then run. So I don't see this is a bug.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7823.