Lines Matching refs:dirname
9 $dirname = dirname(__FILE__) . '/';
10 $file = $dirname . 'test_with_comment.zip';
11 include $dirname . 'utils.inc';
18 $zip->extractTo($dirname . '__oo_extract_tmp');
19 if (!is_dir($dirname . '__oo_extract_tmp')) {
23 if (!is_dir($dirname .'__oo_extract_tmp/foobar')) {
27 if (!file_exists($dirname . '__oo_extract_tmp/foobar/baz')) {
30 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n";
33 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
36 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
39 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
42 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
47 $zip->extractTo($dirname . '__oo_extract_tmp', 'bar');
48 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
51 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
55 $zip->extractTo($dirname . '__oo_extract_tmp', array('bar','foo'));
56 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
59 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
61 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
64 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
67 rmdir_rf($dirname . '__oo_extract_tmp');