thomascube
2009-05-21 66f68e96236848e8f1dd5992f1d7d0c5cc6da2a9
program/include/rcube_plugin_api.php
@@ -302,7 +302,7 @@
   */
  private function ressource_url($fn)
  {
    if ($fn[0] != '/' && !eregi('^https?://', $fn))
    if ($fn[0] != '/' && !preg_match('|^https?://|i', $fn))
      return $this->url . $fn;
    else
      return $fn;