change permission to octal

This commit is contained in:
<bdauvergne@entrouvert.com> 1210078429 +0200 0001-01-01 00:00:00 +00:00
parent 8d6f23e344
commit 4fc93e86ff
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
$path = '/var/lib/spkitlasso/' . $_SERVER['HTTP_HOST'];
// $path = basedir(basedir(__FILE__)) . FILE_SEPARATOR . "data";
if (! file_exists($path)) {
@mkdir($path,755,1);
@mkdir($path,0755,1);
}
return $path;
}