projects
/
mtweb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4947a4d
)
correction liste template
author
dj3c1t
<dj3c1t@free.fr>
Fri, 21 Dec 2012 19:35:00 +0000
(20:35 +0100)
committer
dj3c1t
<dj3c1t@free.fr>
Fri, 21 Dec 2012 19:35:00 +0000
(20:35 +0100)
mw/env/modules/mw_env_out.php
patch
|
blob
|
history
diff --git
a/mw/env/modules/mw_env_out.php
b/mw/env/modules/mw_env_out.php
index
00f4a84
..
e61b8cc
100644
(file)
--- a/
mw/env/modules/mw_env_out.php
+++ b/
mw/env/modules/mw_env_out.php
@@
-52,7
+52,7
@@
function _out_pathes($out_dir, $pathes = array()){
if($dh = opendir($out_dir)){
while(($file = readdir($dh)) !== false){
- if(is_dir($out_dir.$file) && substr($file, 0 ,1) != ".") $pathes[] = $file;
+ if(is_dir($out_dir.$file) && substr($file, 0 ,1) != "."
&& !in_array($file, $pathes)
) $pathes[] = $file;
}
closedir($dh);
}