Refers to/uses 755

This commit is contained in:
Matt Pass
2014-11-10 07:16:42 +00:00
parent 3432f9c331
commit e524012ec0
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ echo $chmodInfo;
</span>
<span class="column" style="margin: 0 10px">
<?php
$perms = str_split(substr($chmodInfo,1,3)); // reduces 0705 down to 705
$perms = str_split(substr($chmodInfo,1,3)); // reduces 0755 down to 755
$readVars = array(4,5,6,7);
$writeVars = array(2,3,6,7);
$execVars = array(1,3,5,7);

View File

@@ -42,7 +42,7 @@ function copyOldVersion() {
$testPath = str_replace("\\","/",$testPath);
if (strpos($testPath,"/plugins/")==false) {
if ($item->isDir()) {
mkdir($dest.DIRECTORY_SEPARATOR.$iterator->getSubPathName(), 0705);
mkdir($dest.DIRECTORY_SEPARATOR.$iterator->getSubPathName(), 0755);
} else {
rename($item, $dest.DIRECTORY_SEPARATOR.$iterator->getSubPathName());
}