fix #66414 bad mkdir example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332580 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joe Watkins 2014-01-05 07:05:47 +00:00
parent c782d9acfd
commit 50a515801e

View file

@ -144,7 +144,7 @@ $structure = './depth1/depth2/depth3/';
// To create the nested structure, the $recursive parameter
// to mkdir() must be specified.
if (!mkdir($structure, 0, true)) {
if (!mkdir($structure, 0777, true)) {
die('Failed to create folders...');
}