Skip to content

Commit

Permalink
Update z2m.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Apr 23, 2024
1 parent 32ea1c4 commit 026a762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/z2m.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public static function deamon_start() {
}
exec(system::getCmdSudo() .' chown www-data -R "/root/.npm"');
exec(system::getCmdSudo() .' chmod 777 -R "/root/.npm"');
if(file_exists(log::getPathToLog('z2md')){
if(file_exists(log::getPathToLog('z2md'))){
exec(system::getCmdSudo() .' chown www-data -R "'.log::getPathToLog('z2md').'"');
exec(system::getCmdSudo() .' chmod 775 -R "'.log::getPathToLog('z2md').'"');
}
Expand Down

0 comments on commit 026a762

Please sign in to comment.