Lines Matching refs:dirname
10 $dirname = dirname(__FILE__) . '/';
11 $file = $dirname . 'test_with_comment.zip';
12 include $dirname . 'utils.inc';
19 $zip->extractTo($dirname . '__oo_extract_tmp');
20 if (!is_dir($dirname . '__oo_extract_tmp')) {
24 if (!is_dir($dirname .'__oo_extract_tmp/foobar')) {
28 if (!file_exists($dirname . '__oo_extract_tmp/foobar/baz')) {
31 echo file_get_contents($dirname . '__oo_extract_tmp/foobar/baz') . "\n";
34 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
37 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
40 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
43 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
48 $zip->extractTo($dirname . '__oo_extract_tmp', 'bar');
49 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
52 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
56 $zip->extractTo($dirname . '__oo_extract_tmp', array('bar','foo'));
57 if (!file_exists($dirname . '__oo_extract_tmp/bar')) {
60 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n";
62 if (!file_exists($dirname . '__oo_extract_tmp/foo')) {
65 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n";
68 rmdir_rf($dirname . '__oo_extract_tmp');