Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <?php
  2. /*
  3. Plugin Name: My Plugin
  4. */
  5.  
  6. <?php
  7.  
  8. ~/Sites/wordpress/wp-content/plugins/my-plugin $ ls -ll
  9. total 16
  10. -rwxrwxrwx@ 1 me staff 34 13 Aug 21:43 my-plugin.php
  11. -rwxrwxrwx@ 1 me staff 6 13 Aug 21:44 uninstall.php
  12.  
  13. sudo chown www-data:www-data * -R
  14. sudo usermod -a -G www-data username
  15.  
  16. sudo chown www-data:www-data * -R
  17. sudo usermod -a -G www-data YOUR-USERNAME-HERE
  18.  
  19. define( 'FS_METHOD', 'ftpext' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement