We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0183e commit 01dcb23Copy full SHA for 01dcb23
packages/playground/wordpress/src/wp-config-transformer.php
@@ -68,7 +68,7 @@ public function to_string(): string {
68
* @param string $path The path to the wp-config.php file.
69
*/
70
public function to_file( string $path ): void {
71
- $result = file_put_contents( $path, $this->to_string(), LOCK_EX );
+ $result = file_put_contents( $path, $this->to_string() );
72
if ( false === $result ) {
73
throw new Exception( sprintf( "Failed to write to the '%s' file.", $path ) );
74
}
0 commit comments