summaryrefslogtreecommitdiff
path: root/shell/bin/rm.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 11:23:55 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 11:23:55 -0500
commitfb0380f48203a11584773f3db335eaadd9cc6fdf (patch)
tree98f7eb36ed8a3ec99c1cba5c9c0742af8931783b /shell/bin/rm.php
parent3d6790614bb0dc776e02a95835e5c274263d1d1a (diff)
This zip file was identified as ltshell-3.5.zip
Diffstat (limited to 'shell/bin/rm.php')
-rw-r--r--shell/bin/rm.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/shell/bin/rm.php b/shell/bin/rm.php
index 7bb7aef..5eadaff 100644
--- a/shell/bin/rm.php
+++ b/shell/bin/rm.php
@@ -1,8 +1,10 @@
<?php
-function main($args) {
- $me = array_shift($args);
- foreach ($args as $file) {
- unlink($file);
+class p_rm extends prog {
+ public static function main($args, $env) {
+ $me = array_shift($args);
+ foreach ($args as $file) {
+ unlink($file);
+ }
}
}