From 0d73cb56a2b5b52132ae4e587e7decd8ae0ba1c7 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 5 Dec 2009 09:49:02 +0000 Subject: [PATCH] Bugtracker #4867 - recognise https:// files as external downloads --- e107_plugins/download/handlers/adminDownload_class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_plugins/download/handlers/adminDownload_class.php b/e107_plugins/download/handlers/adminDownload_class.php index b70e35361..f9cac22d5 100644 --- a/e107_plugins/download/handlers/adminDownload_class.php +++ b/e107_plugins/download/handlers/adminDownload_class.php @@ -9,9 +9,9 @@ * * * $Source: /cvs_backup/e107_0.8/e107_plugins/download/handlers/adminDownload_class.php,v $ - * $Revision: 1.27 $ - * $Date: 2009-12-03 00:22:25 $ - * $Author: bugrain $ + * $Revision: 1.28 $ + * $Date: 2009-12-05 09:49:02 $ + * $Author: e107steved $ */ if (!e107::isInstalled('download')) { exit(); } @@ -637,7 +637,7 @@ class adminDownload extends download $counter++; } - if (preg_match("/http:|ftp:/", $download_url)) + if (preg_match("/http:|https:|ftp:/", $download_url)) { $download_url_external = $download_url; $download_url = '';