fetch_sourcepath($path); if ($iscontainer) { if ($dir = @opendir($path)) { while (($file = readdir($dir)) !== false) { if (is_dir($path . $file) AND $file{0} != '.' AND is_dir($path . $file . '/' . 'db')) { $repos[] = $file; } } closedir($dir); } } else { if (is_dir($path . 'db')) { $repos[] = $path; } } if (count($repos) < 1) { $viewsvn->trigger->error('no valid repositories'); } } } /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>