mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Issue #240 - duplicate folder - this should fix it.
This commit is contained in:
@@ -753,10 +753,13 @@ function update_706_to_800($type='')
|
|||||||
foreach($changeMenuPaths as $cgpArray)
|
foreach($changeMenuPaths as $cgpArray)
|
||||||
{
|
{
|
||||||
if(is_dir(e_PLUGIN.$cgpArray['oldpath']))
|
if(is_dir(e_PLUGIN.$cgpArray['oldpath']))
|
||||||
|
{
|
||||||
|
if(!in_array($cgpArray['oldpath'],$chgPath))
|
||||||
{
|
{
|
||||||
$chgPath[] = $cgpArray['oldpath'];
|
$chgPath[] = $cgpArray['oldpath'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//TODO LAN
|
//TODO LAN
|
||||||
|
|
||||||
if(count($chgPath))
|
if(count($chgPath))
|
||||||
|
Reference in New Issue
Block a user