Code Duplication    Length = 8-8 lines in 2 locations

application/third_party/asset-helper/helpers/asset_helper.php 2 locations

@@ 335-342 (lines=8) @@
332
 * @access  public
333
 * @return  string
334
 */
335
if (!function_exists('download_path')) {
336
	function download_path()
337
	{
338
		$CI =& get_instance();
339
340
		return FCPATH . $CI->config->item('download_path');
341
	}
342
}
343
344
/**
345
 * Get the Relative (to app root) Download Path
@@ 350-357 (lines=8) @@
347
 * @access  public
348
 * @return  string
349
 */
350
if (!function_exists('download_path_relative')) {
351
	function download_path_relative()
352
	{
353
		$CI =& get_instance();
354
355
		return './' . $CI->config->item('download_path');
356
	}
357
}
358
359
360
// ------------------------------------------------------------------------