thomascube
2009-05-21 66f68e96236848e8f1dd5992f1d7d0c5cc6da2a9
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;