alecpl
2009-05-16 2471d3a979d00e0cecca64e0d5889ca40c02c5fe
program/include/rcube_plugin.php
@@ -195,7 +195,7 @@
   */
  private function ressource_url($fn)
  {
    if ($fn[0] != '/' && !eregi('^https?://', $fn))
    if ($fn[0] != '/' && !preg_match('|^https?://|i', $fn))
      return $this->ID . '/' . $fn;
    else
      return $fn;