From 23a2eec4d540b5f971ed6377e7ad776456ee0633 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 04 May 2009 04:31:55 -0400
Subject: [PATCH] - ereg -> preg
---
program/include/rcube_html_page.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_html_page.php b/program/include/rcube_html_page.php
index c83c6ae..b8db7b3 100644
--- a/program/include/rcube_html_page.php
+++ b/program/include/rcube_html_page.php
@@ -54,7 +54,7 @@
{
static $sa_files = array();
- if (!ereg('^https?://', $file) && $file[0] != '/')
+ if (!preg_match('|^https?://|i', $file) && $file[0] != '/')
$file = $this->scripts_path . $file;
if (in_array($file, $sa_files)) {
--
Gitblit v1.9.1