added overwrite option to extractto()
This commit is contained in:
parent
cf948b6ed8
commit
749e7d56eb
|
@ -0,0 +1 @@
|
|||
dist/
|
|
@ -238,7 +238,7 @@ if (!empty($argv[1])) {
|
|||
// $data->extractTo($phpbb_root_path, 'phpBB3');
|
||||
// does not work due to php bug:
|
||||
// https://bugs.php.net/bug.php?id=54289
|
||||
$data->extractTo($phpbb_root_path);
|
||||
$data->extractTo($phpbb_root_path, null, true);
|
||||
|
||||
$fromDir = $phpbb_root_path . 'phpBB3/';
|
||||
$toDir = $phpbb_root_path;
|
||||
|
@ -332,4 +332,4 @@ if (!empty($argv[1])) {
|
|||
// echo "php $argv[0] --reenable-styles", PHP_EOL;
|
||||
// really?
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue