1
Discussion & Troubleshooting / Re: download.php issue
« on: December 07, 2012, 03:59:16 AM »
You forgot to explain what is the problem...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
if (!function_exists("get_self"))
{
function get_self()
{
$list = get_included_files();
return $list[0];
}
}
if (!function_exists("get_self_full"))
{
function get_self_full()
{
global $HTTP_GET_VARS;
$q = $HTTP_GET_VARS;
$query = array();
foreach($q as $key => $val)
{
$query[] = $key . "=" . $val;
}
return ROOT_PATH.basename(get_self()).(!empty($query) ? "?".implode("&", $query) : "");
}
}
if (!function_exists("get_self"))
{
function get_self()
{
global $self_url;
return $self_url;
}
}
if (!function_exists("get_self_full"))
{
function get_self_full()
{
global $script_url;
return $script_url."/".get_self();
}
}