diff --git a/e107_admin/image.php b/e107_admin/image.php index a2c2dc682..78a78752f 100644 --- a/e107_admin/image.php +++ b/e107_admin/image.php @@ -98,7 +98,7 @@ if(vartrue($_GET['action']) == 'nav' && e_AJAX_REQUEST) //XXX Doesn't work corre } - require(e_HANDLER.'phpthumb/ThumbLib.inc.php'); // For resizing on import. + require_once(e_HANDLER.'phpthumb/ThumbLib.inc.php'); // For resizing on import. $e_sub_cat = 'image'; diff --git a/e107_handlers/media_class.php b/e107_handlers/media_class.php index ba021f3f2..83cad4119 100644 --- a/e107_handlers/media_class.php +++ b/e107_handlers/media_class.php @@ -1940,7 +1940,7 @@ class e_media } - @require(e_HANDLER.'phpthumb/ThumbLib.inc.php'); + require_once(e_HANDLER.'phpthumb/ThumbLib.inc.php'); try { $thumb = PhpThumbFactory::create($src);