Code Duplication    Length = 8-8 lines in 2 locations

application/tests/Bootstrap.php 2 locations

@@ 260-267 (lines=8) @@
257
			);
258
		}
259
	}
260
	elseif (is_dir(BASEPATH.$application_folder.DIRECTORY_SEPARATOR))
261
	{
262
		$application_folder = BASEPATH.strtr(
263
			trim($application_folder, '/\\'),
264
			'/\\',
265
			DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
266
		);
267
	}
268
	else
269
	{
270
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
@@ 297-304 (lines=8) @@
294
			);
295
		}
296
	}
297
	elseif (is_dir(APPPATH.$view_folder.DIRECTORY_SEPARATOR))
298
	{
299
		$view_folder = APPPATH.strtr(
300
			trim($view_folder, '/\\'),
301
			'/\\',
302
			DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
303
		);
304
	}
305
	else
306
	{
307
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);