summaryrefslogtreecommitdiff
path: root/shell/bin/cd.php
blob: 80e1da6359cf0647041c8a4865acc0d6f4c197a4 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
class p_cd extends prog {
	public static function main($args, $env) {
		@$dir = $args[1];
		$ret = lts_chdir($dir);
		echo getcwd()."\n";
		return $ret;
	}
}