summaryrefslogtreecommitdiff
path: root/shell/bin/whoami.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/whoami.php
parent3d6790614bb0dc776e02a95835e5c274263d1d1a (diff)
This zip file was identified as ltshell-3.5.zip
Diffstat (limited to 'shell/bin/whoami.php')
-rw-r--r--shell/bin/whoami.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/bin/whoami.php b/shell/bin/whoami.php
index 84db5a1..7e560f2 100644
--- a/shell/bin/whoami.php
+++ b/shell/bin/whoami.php
@@ -1,4 +1,7 @@
<?php
-function main($args) {
- echo get_current_user();
+class p_whoami extends prog {
+ public static function main($args, $env) {
+ echo get_current_user();
+ }
}
+