summaryrefslogtreecommitdiff
path: root/shell/bin/cd.php
diff options
context:
space:
mode:
Diffstat (limited to 'shell/bin/cd.php')
-rw-r--r--shell/bin/cd.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/bin/cd.php b/shell/bin/cd.php
new file mode 100644
index 0000000..3679e88
--- /dev/null
+++ b/shell/bin/cd.php
@@ -0,0 +1,5 @@
+<?php
+function main($args) {
+ @$dir = $args[1];
+ return php_chdir($dir);
+}