1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Issue #240 - duplicate folder - this should fix it.

This commit is contained in:
Cameron
2013-05-05 14:09:50 -07:00
parent ec9e8380a1
commit 5fb926f51d

View File

@@ -754,7 +754,10 @@ function update_706_to_800($type='')
{ {
if(is_dir(e_PLUGIN.$cgpArray['oldpath'])) if(is_dir(e_PLUGIN.$cgpArray['oldpath']))
{ {
$chgPath[] = $cgpArray['oldpath']; if(!in_array($cgpArray['oldpath'],$chgPath))
{
$chgPath[] = $cgpArray['oldpath'];
}
} }
} }
//TODO LAN //TODO LAN