Files
ugly-queue/tests/misc/cleanup.php

13 lines
240 B
PHP
Raw Normal View History

<?php
if (is_dir(__DIR__.'/tasty-sandwich'))
2014-08-10 13:56:15 -05:00
{
foreach(glob(__DIR__.'/tasty-sandwich/*') as $file)
{
if (substr($file, -1) === '.')
continue;
unlink($file);
}
rmdir(__DIR__.'/tasty-sandwich');
}