diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-09-23 09:26:30 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-09-23 09:26:30 +0400 |
commit | 9bcb83af03d9f988a2e2c754e6b9b3cf2c468555 (patch) | |
tree | b5f9e6f0ab0627ac6834b2cfe6ecd53a785d3aa8 /transformation_overview.php | |
parent | e67a0a2531fff325477c5babcfffbf205ca755b3 (diff) |
File is being conditionally included; use "include" instead
Diffstat (limited to 'transformation_overview.php')
-rw-r--r-- | transformation_overview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transformation_overview.php b/transformation_overview.php index 81211d564a..35d41c0943 100644 --- a/transformation_overview.php +++ b/transformation_overview.php @@ -52,7 +52,7 @@ foreach ($types['mimetype'] as $key => $mimetype) { $odd_row = true; foreach ($types['transformation'] as $key => $transform) { $func = strtolower(str_ireplace('.inc.php', '', $types['transformation_file'][$key])); - require './libraries/transformations/' . $types['transformation_file'][$key]; + include './libraries/transformations/' . $types['transformation_file'][$key]; $funcname = 'PMA_transformation_' . $func . '_info'; $desc = '<i>' . sprintf(__('No description is available for this transformation.<br />Please ask the author what %s does.'), 'PMA_transformation_' . $func . '()') . '</i>'; if (function_exists($funcname)) { |