More tests and minor updates.

This commit is contained in:
2014-08-10 13:56:15 -05:00
parent e07cb21821
commit 0b3b876b64
3 changed files with 122 additions and 33 deletions

View File

@@ -1,4 +1,13 @@
<?php
if (is_dir(__DIR__.'/tasty-sandwich'))
\DCarbone\Helpers\FileHelper::superUnlink(__DIR__.'/tasty-sandwich');
{
foreach(glob(__DIR__.'/tasty-sandwich/*') as $file)
{
if (substr($file, -1) === '.')
continue;
unlink($file);
}
rmdir(__DIR__.'/tasty-sandwich');
}