Lines Matching refs:dirname
7 $dirname = __DIR__ . '/';
8 $file = $dirname . 'test_with_comment.zip';
9 include $dirname . 'utils.inc';
16 $zip->extractTo($dirname . '__oo_extract_tmp');
17 if (!is_dir($dirname . '__oo_extract_tmp')) {
21 if (!is_dir($dirname .'__oo_extract_tmp/foobar')) {
25 if (!file_exists($dirname . '__oo_extract_tmp/foobar/baz')) {
28 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n";
31 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
34 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
37 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
40 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
45 $zip->extractTo($dirname . '__oo_extract_tmp', 'bar');
46 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
49 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
53 $zip->extractTo($dirname . '__oo_extract_tmp', array('bar','foo'));
54 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
57 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
59 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
62 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
65 rmdir_rf($dirname . '__oo_extract_tmp');