diff --git a/libraries/transformations/image_jpeg__inline.inc.php b/libraries/transformations/image_jpeg__inline.inc.php index 066c74725..715621c15 100644 --- a/libraries/transformations/image_jpeg__inline.inc.php +++ b/libraries/transformations/image_jpeg__inline.inc.php @@ -3,7 +3,7 @@ // vim: expandtab sw=4 ts=4 sts=4: function PMA_transformation_image_jpeg__inline($buffer, $options = array(), $meta = '') { - include('./libraries/transformations/global.inc.php'); + require_once('./libraries/transformations/global.inc.php'); if (PMA_IS_GD2) { $transform_options = array ('string' => '[__BUFFER__]'); diff --git a/libraries/transformations/image_jpeg__link.inc.php b/libraries/transformations/image_jpeg__link.inc.php index b4942ccda..09c929fbb 100644 --- a/libraries/transformations/image_jpeg__link.inc.php +++ b/libraries/transformations/image_jpeg__link.inc.php @@ -3,7 +3,7 @@ // vim: expandtab sw=4 ts=4 sts=4: function PMA_transformation_image_jpeg__link($buffer, $options = array(), $meta = '') { - include('./libraries/transformations/global.inc.php'); + require_once('./libraries/transformations/global.inc.php'); $transform_options = array ('string' => '[BLOB]'); $buffer = PMA_transformation_global_html_replace($buffer, $transform_options); diff --git a/libraries/transformations/image_png__inline.inc.php b/libraries/transformations/image_png__inline.inc.php index 1f1d07d74..f3503bfc2 100644 --- a/libraries/transformations/image_png__inline.inc.php +++ b/libraries/transformations/image_png__inline.inc.php @@ -3,7 +3,7 @@ // vim: expandtab sw=4 ts=4 sts=4: function PMA_transformation_image_png__inline($buffer, $options = array(), $meta = '') { - include('./libraries/transformations/global.inc.php'); + require_once('./libraries/transformations/global.inc.php'); if (PMA_IS_GD2) { $transform_options = array ('string' => '[__BUFFER__]'); diff --git a/libraries/transformations/text_plain__imagelink.inc.php b/libraries/transformations/text_plain__imagelink.inc.php index 20888b3aa..11d3fd679 100644 --- a/libraries/transformations/text_plain__imagelink.inc.php +++ b/libraries/transformations/text_plain__imagelink.inc.php @@ -3,7 +3,7 @@ // vim: expandtab sw=4 ts=4 sts=4: function PMA_transformation_text_plain__imagelink($buffer, $options = array(), $meta = '') { - include('./libraries/transformations/global.inc.php'); + require_once('./libraries/transformations/global.inc.php'); $transform_options = array ('string' => '' . $buffer . ''); $buffer = PMA_transformation_global_html_replace($buffer, $transform_options);