Code Duplication    Length = 6-6 lines in 3 locations

htdocs/class/xoopseditor/fckeditor/fckeditor/editor/plugins/ImageManager/images.php 1 location

@@ 29-34 (lines=6) @@
26
//check for any sub-directory request
27
//check that the requested sub-directory exists
28
//and valid
29
if(isset($_REQUEST['dir']))
30
{
31
        $path = rawurldecode($_REQUEST['dir']);
32
        if($manager->validRelativePath($path))
33
                $relative = $path;
34
}
35
36
37
$manager = new ImageManager($IMConfig);

htdocs/class/xoopseditor/xinha/plugins/ExtendedFileManager/images.php 1 location

@@ 45-50 (lines=6) @@
42
//check for any sub-directory request
43
//check that the requested sub-directory exists
44
//and valid
45
if(isset($_REQUEST['dir']))
46
{
47
	$path = rawurldecode($_REQUEST['dir']);
48
	if($manager->validRelativePath($path))
49
		$relative = $path;
50
}
51
52
$afruViewType = (isset($_REQUEST['viewtype'])) ? $afruViewType=$_REQUEST['viewtype'] : '';
53

htdocs/class/xoopseditor/xinha/plugins/ImageManager/images.php 1 location

@@ 37-42 (lines=6) @@
34
//check for any sub-directory request
35
//check that the requested sub-directory exists
36
//and valid
37
if(isset($_REQUEST['dir']))
38
{
39
	$path = rawurldecode($_REQUEST['dir']);
40
	if($manager->validRelativePath($path))
41
		$relative = $path;
42
}
43
44
45
$manager = new ImageManager($IMConfig);