projects
/
phpgitweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1fc2c
)
fixed ref loader
author
pk910
<philipp@zoelle1.de>
Thu, 14 Feb 2013 07:34:05 +0000
(08:34 +0100)
committer
pk910
<philipp@zoelle1.de>
Thu, 14 Feb 2013 07:34:05 +0000
(08:34 +0100)
htdocs/lib/ProjectLoader.class.php
patch
|
blob
|
history
diff --git
a/htdocs/lib/ProjectLoader.class.php
b/htdocs/lib/ProjectLoader.class.php
index 8c0c1313419da3f88d360f0cf55c5fc1732e0472..a5ebd74f8b40da65015076ef08b3094a195a5c28 100644
(file)
--- a/
htdocs/lib/ProjectLoader.class.php
+++ b/
htdocs/lib/ProjectLoader.class.php
@@
-115,7
+115,7
@@
class ProjectLoader {
private function getProjectRefsRecursive(&$project, $cref) {
if ($dh = opendir($project['path'].'/'.$cref)) {
while (($file = readdir($dh)) !== false) {
- if($file
== '.' || $file == '.
.')
+ if($file
[0] == '
.')
continue;
if(is_dir($project['path'].'/'.$cref.'/'.$file))
$this->getProjectRefsRecursive($project, $cref.'/'.$file);