Lines Matching refs:dirname
7 $dirname = dirname(__FILE__) . '/';
8 include $dirname . 'utils.inc';
10 $dirname = $dirname . 'bug72374';
11 mkdir($dirname);
12 $file1 = $dirname . '/some-foo.txt';
14 $file2 = $dirname . '/some-bar.txt';
18 $zip->open($dirname . '/test.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE);
19 $zip->addGlob($file1, 0, array('remove_path' => $dirname . '/some-'));
20 $zip->addGlob($file1, 0, array('remove_path' => $dirname . '/'));
21 $zip->addGlob($file2, 0, array('remove_path' => $dirname));
27 $dirname = dirname(__FILE__) . '/';
28 include $dirname . 'utils.inc';
30 $dirname = $dirname . 'bug72374';
31 rmdir_rf($dirname);