Permalink
Browse files

[xupdate] set mainfile.php to read-only on update executed

  • Loading branch information...
nao-pon committed Apr 20, 2015
1 parent 965f018 commit f2173e01b8d2ed2d9be7281c0faba612a1f07530
Showing with 3 additions and 0 deletions.
  1. +3 −0 xoops_trust_path/modules/xupdate/include/FtpModuleInstall.class.php
@@ -361,6 +361,9 @@ private function uploadFiles($caller)
}
}
}
// maifile write protect
$this->Func->mainfile_to_readonly();
$this->Ftp->appendMes( 'end uploaded success<br />');
return true;

0 comments on commit f2173e0

Please sign in to comment.