diff options
Diffstat (limited to 'shell/bin/pwd.php')
-rw-r--r-- | shell/bin/pwd.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/bin/pwd.php b/shell/bin/pwd.php index 2b43d00..c5b30c7 100644 --- a/shell/bin/pwd.php +++ b/shell/bin/pwd.php @@ -1,5 +1,7 @@ <?php -function main($args) { - echo getcwd()."\n"; +class p_pwd extends prog { + public static function main($args, $env) { + echo getcwd()."\n"; + } } |