From ef9a30b54caa995e81ad1f099f1c5f3e5484c9aa Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Wed, 16 Feb 2011 15:47:32 -0400 Subject: [PATCH] ISLANDORA-204: Strict warning is no longer issued. --- MimeClass.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MimeClass.inc b/MimeClass.inc index 652f3cc3..f1c5cb16 100644 --- a/MimeClass.inc +++ b/MimeClass.inc @@ -223,7 +223,8 @@ class MimeClass { */ public function get_mimetype( $filename, $debug = FALSE ) { - $ext = strtolower( array_pop( explode( '.', $filename ) ) ); + $file_name_and_extension = explode( '.', $filename ); + $ext = strtolower( array_pop( $file_name_and_extension ) ); if ( ! empty( $this->private_mime_types[$ext] ) ) { if ( TRUE === $debug )