Annotation of embedaddon/php/ext/phar/tests/files/frontcontroller19.phar.inc, revision 1.1.1.1
1.1 misho 1: <?php
2: @unlink(dirname(__FILE__) . '/frontcontroller19.phar');
3: $a = new Phar(dirname(__FILE__) . '/frontcontroller19.phar');
4: $a['start/index.php'] = '<?php
5: echo "start/index.php\n";
6: include "./another.php";
7: ';
8: $a['start/another.php'] = '<?php
9: echo "start/another.php\n";
10: include "../another.php";
11: ?>';
12: $a['another.php'] = '<?php
13: echo "another.php\n";
14: ?>';
15: $a->setStub('<?php
16: set_include_path("phar://" . __FILE__);
17: try {
18: Phar::webPhar("test.phar", "/start/index.php");
19: } catch (Exception $e) {
20: die($e->getMessage() . "\n");
21: }
22: echo "oops did not run\n";
23: var_dump($_ENV, $_SERVER);
24: __HALT_COMPILER();');
25: ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>