summaryrefslogtreecommitdiff
path: root/shell/bin/cd.php
blob: e8505bd530c965d474a70fcaa4971cc6f088cbf1 (plain)
1
2
3
4
5
6
7
8
<?php
class p_cd extends prog {
	public static function main($args, $env) {
		@$dir = $args[1];
		return php_chdir($dir);
	}
}