mirror of
https://github.com/Relintai/mourne_rcpp_fw.git
synced 2024-12-23 21:16:50 +01:00
24 lines
543 B
PHP
Executable File
24 lines
543 B
PHP
Executable File
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
//using different helper for images, so they can be easily relocated to like different servers etc...
|
|
|
|
if ( ! function_exists('isite_url'))
|
|
{
|
|
function isite_url($uri = '')
|
|
{
|
|
$CI =& get_instance();
|
|
return $CI->config->site_url($uri);
|
|
}
|
|
}
|
|
|
|
//addign img/prefix, so I don't have to in every call
|
|
|
|
if ( ! function_exists('ibase_url'))
|
|
{
|
|
function ibase_url($uri = '')
|
|
{
|
|
$muri = 'img/' . $uri;
|
|
$CI =& get_instance();
|
|
return $CI->config->base_url($muri);
|
|
}
|
|
} |