| @@ 146-153 (lines=8) @@ | ||
| 143 | * @access public |
|
| 144 | * @return string |
|
| 145 | */ |
|
| 146 | if (!function_exists('upload_url')) { |
|
| 147 | function upload_url() |
|
| 148 | { |
|
| 149 | $CI =& get_instance(); |
|
| 150 | ||
| 151 | return base_url() . $CI->config->item('upload_path'); |
|
| 152 | } |
|
| 153 | } |
|
| 154 | ||
| 155 | /** |
|
| 156 | * Get Download URL |
|
| @@ 161-168 (lines=8) @@ | ||
| 158 | * @access public |
|
| 159 | * @return string |
|
| 160 | */ |
|
| 161 | if (!function_exists('download_url')) { |
|
| 162 | function download_url() |
|
| 163 | { |
|
| 164 | $CI =& get_instance(); |
|
| 165 | ||
| 166 | return base_url() . $CI->config->item('download_path'); |
|
| 167 | } |
|
| 168 | } |
|
| 169 | ||
| 170 | /** |
|
| 171 | * Get XML URL |
|
| @@ 176-183 (lines=8) @@ | ||
| 173 | * @access public |
|
| 174 | * @return string |
|
| 175 | */ |
|
| 176 | if (!function_exists('xml_url')) { |
|
| 177 | function xml_url() |
|
| 178 | { |
|
| 179 | $CI =& get_instance(); |
|
| 180 | ||
| 181 | return base_url() . $CI->config->item('xml_path'); |
|
| 182 | } |
|
| 183 | } |
|
| 184 | ||
| 185 | ||
| 186 | // ------------------------------------------------------------------------ |
|