Set log permissions to 0600
This commit is contained in:
parent
920aac6c49
commit
ef68706cd6
@ -54,6 +54,9 @@ function fictioneer_log( $message, $current_user = null ) {
|
||||
|
||||
// Concatenate and save
|
||||
file_put_contents( $log_file, implode( "\n", $log_entries ) );
|
||||
|
||||
// Set file permissions
|
||||
chmod( $log_file, 0600 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user