Set log permissions to 0600

This commit is contained in:
Tetrakern 2024-09-07 14:33:03 +02:00
parent 920aac6c49
commit ef68706cd6

View File

@ -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 );
}
/**