Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$path = dirname(__FILE__) . '/wp-content/uploads/';
$isWriteable = is_writeable($path);
die($path . ' is writeable: ' . $isWriteable);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment