alecpl
2009-05-04 23a2eec4d540b5f971ed6377e7ad776456ee0633
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;