Code Duplication    Length = 8-8 lines in 5 locations

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

@@ 71-78 (lines=8) @@
68
 * @access  public
69
 * @return  string
70
 */
71
if (!function_exists('css_url')) {
72
	function css_url()
73
	{
74
		$CI =& get_instance();
75
76
		return $CI->config->slash_item('static_url') . $CI->config->item('css_path');
77
	}
78
}
79
80
/**
81
 * Get less URL
@@ 86-93 (lines=8) @@
83
 * @access  public
84
 * @return  string
85
 */
86
if (!function_exists('less_url')) {
87
	function less_url()
88
	{
89
		$CI =& get_instance();
90
91
		return $CI->config->slash_item('static_url') . $CI->config->item('less_path');
92
	}
93
}
94
95
/**
96
 * Get js URL
@@ 101-108 (lines=8) @@
98
 * @access  public
99
 * @return  string
100
 */
101
if (!function_exists('js_url')) {
102
	function js_url()
103
	{
104
		$CI =& get_instance();
105
106
		return $CI->config->slash_item('static_url') . $CI->config->item('js_path');
107
	}
108
}
109
110
/**
111
 * Get image URL
@@ 116-123 (lines=8) @@
113
 * @access  public
114
 * @return  string
115
 */
116
if (!function_exists('img_url')) {
117
	function img_url()
118
	{
119
		$CI =& get_instance();
120
121
		return $CI->config->slash_item('static_url') . $CI->config->item('img_path');
122
	}
123
}
124
125
/**
126
 * Get SWF URL
@@ 131-138 (lines=8) @@
128
 * @access  public
129
 * @return  string
130
 */
131
if (!function_exists('swf_url')) {
132
	function swf_url()
133
	{
134
		$CI =& get_instance();
135
136
		return $CI->config->slash_item('static_url') . $CI->config->item('swf_path');
137
	}
138
}
139
140
/**
141
 * Get Upload URL