Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 305-312 (lines=8) @@
302
 * @access  public
303
 * @return  string
304
 */
305
if (!function_exists('upload_path')) {
306
	function upload_path()
307
	{
308
		$CI =& get_instance();
309
310
		return FCPATH . $CI->config->item('upload_path');
311
	}
312
}
313
314
/**
315
 * Get the Relative (to app root) Upload Path
@@ 320-327 (lines=8) @@
317
 * @access  public
318
 * @return  string
319
 */
320
if (!function_exists('upload_path_relative')) {
321
	function upload_path_relative()
322
	{
323
		$CI =& get_instance();
324
325
		return './' . $CI->config->item('upload_path');
326
	}
327
}
328
329
/**
330
 * Get the Absolute Download Path