15 lines
401 B
HTML
15 lines
401 B
HTML
|
|
<?php if ($isWindows): ?>
|
||
|
|
<?php foreach ($removeList as $file => $isDir): ?>
|
||
|
|
<?php if ($isDir): ?>rmdir <?php else: ?>del <?php endif; ?>
|
||
|
|
<?php print str_replace('/', '\\', $file); ?>
|
||
|
|
|
||
|
|
<?php endforeach; ?>
|
||
|
|
<?php else: ?>
|
||
|
|
#!/bin/sh
|
||
|
|
<?php foreach ($removeList as $file => $isDir): ?>
|
||
|
|
<?php if ($isDir): ?>rmdir <?php else: ?>rm <?php endif; ?>
|
||
|
|
<?php print $file ?>
|
||
|
|
|
||
|
|
<?php endforeach; ?>
|
||
|
|
<?php endif; ?>
|