Skip to content

Commit

Permalink
Use correct default value for second argument of mkdir().
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 19, 2011
1 parent f5b9510 commit 87dbed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Util/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function __construct($out = NULL)
$this->out = fsockopen($out[0], $out[1]);
} else {
if (!is_dir(dirname($out))) {
mkdir(dirname($out), 0, TRUE);
mkdir(dirname($out), 0777, TRUE);
}

$this->out = fopen($out, 'wt');
Expand Down

0 comments on commit 87dbed1

Please sign in to comment.