1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00
Files
archived-php-src/ext/phar
Greg Beaver be023d6f62 much better fix for the problem of phar://c:\path\to\blah.phar
don't use php_parse_url() at all, and always unixify paths on copied strings.
our modification was modifying the zval original string, so a user would pass in
phar://c:\path\to\blah.phar

and their string would change to phar://c:/path/to/blah.phar - bad.

Now using

include 'phar://' . __FILE__ . '/index.php';

works on both unix and windows seamlessly, as well as $a = new Phar(__FILE__)

for use in the loader stub
2007-11-19 23:10:05 +00:00
..
2007-05-30 17:25:41 +00:00
2007-11-06 14:49:15 +00:00
2007-02-04 16:25:25 +00:00
2007-02-04 13:21:40 +00:00
2006-01-06 19:23:58 +00:00
2007-08-17 04:46:04 +00:00
2005-12-04 22:51:33 +00:00
2007-08-25 01:32:35 +00:00
2007-08-25 01:04:49 +00:00
2007-02-08 22:50:15 +00:00
2007-02-05 21:38:50 +00:00
2007-05-30 17:25:41 +00:00
2007-01-13 17:10:18 +00:00
2007-08-25 01:32:35 +00:00