Code Duplication    Length = 4-4 lines in 2 locations

htdocs/modules/system/class/thumbs/phpthumb.class.php 1 location

@@ 13-16 (lines=4) @@
10
//////////////////////////////////////////////////////////////
11
12
ob_start();
13
if (!include_once(dirname(__FILE__).'/phpthumb.functions.php')) {
14
	ob_end_flush();
15
	die('failed to include_once("'.dirname(__FILE__).'/phpthumb.functions.php")');
16
}
17
ob_end_clean();
18
19
class phpthumb {

htdocs/modules/system/class/thumbs/phpThumb.php 1 location

@@ 111-114 (lines=4) @@
108
109
// instantiate a new phpThumb() object
110
ob_start();
111
if (!include_once(dirname(__FILE__).'/phpthumb.class.php')) {
112
	ob_end_flush();
113
	die('failed to include_once("'.realpath(dirname(__FILE__).'/phpthumb.class.php').'")');
114
}
115
ob_end_clean();
116
$phpThumb = new phpThumb();
117
$phpThumb->DebugTimingMessage('phpThumb.php start', __FILE__, __LINE__, $starttime);