Skip to content

Instantly share code, notes, and snippets.

@mikecastrodemaria
Created December 20, 2017 17:23
Show Gist options
  • Save mikecastrodemaria/92056799fbed82bc3357f59e0c47a0f6 to your computer and use it in GitHub Desktop.
Save mikecastrodemaria/92056799fbed82bc3357f59e0c47a0f6 to your computer and use it in GitHub Desktop.
<?php
if(!file_exists($output)){
if (!mkdir($output, 0755, true)) {//0755
die('Failed to create folders...');
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment