thomascube
2007-09-29 97bd2c0537bc3edb3751b3020f37e680944ac41c
program/include/rcube_shared.inc
@@ -434,6 +434,10 @@
{
  $host_url = $base_url;
  $abs_path = $path;
  // check if path is an absolute URL
  if (preg_match('/^[fhtps]+:\/\//', $path))
    return $path;
  // cut base_url to the last directory
  if (strpos($base_url, '/')>7)