Skip to content

Instantly share code, notes, and snippets.

@emersonbroga emersonbroga/is_writeable.php Secret
Created Nov 19, 2018

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
You can’t perform that action at this time.