On Fri, Oct 17, 2008 at 9:09 AM, Owen Winkler <[EMAIL PROTECTED]> wrote:
> Just for the sake of beating the horse corpse, would it be possible to
> write a stream wrapper that opened the PHAR plugin files?

There is a stream wrapper to read phar files already. As I understand,
a properly packaged phar archive can be read by PHP without the PECL
extension. But that's about it; all the other phar goodness requires
the PECL extension.

The other problem with phar is reading "static" files like images. You
would need to run it through PHP to display them.

Having said that, phar might still be a possibility to distribute
plugins from the -extras repo and habari could easily read and extract
the files programatically. It's much easier than trying to get
3rdparty scripts/extensions that read zip/tar.


-- 
Matt Read
http://mattread.com

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to