.
*/
require 'config.php';
require 'common.php';
$url = Sanatise($_REQUEST['u']);
$name = Sanatise($_REQUEST['n']);
$path = Sanatise($_REQUEST['p']);
?>
';
echo '(Parent)';
echo '';
}
else
{
echo '';
}
$cmd = $config['svn'] . ' ls --non-interactive ' .
'--username=' . $config['username'] . ' ' .
'--password=' . $config['password'] . ' ' .
escapeshellarg($url . $path);
$proc = popen($cmd, 'r');
while (($line = fgets($proc)) !== false)
{
$line = trim($line);
$is_dir = EndsWith($line, '/');
echo '';
}
pclose($proc);
?>