Skip to content

Instantly share code, notes, and snippets.

Created August 2, 2016 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d8490c1854ea52d378ce415092469e29 to your computer and use it in GitHub Desktop.
Save anonymous/d8490c1854ea52d378ce415092469e29 to your computer and use it in GitHub Desktop.
WordPress Dateiberechtigungen per wp-config.php Konstanten setzen
<?php
// Korrekte Dateiberechtigungen per wp-config.php setzen
define( 'FS_CHMOD_DIR', ( 0755 & ~ umask() ) ); // Ordner
define( 'FS_CHMOD_FILE', ( 0644 & ~ umask() ) ); // Dateien
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment