diff options
Diffstat (limited to 'includes/image.inc')
-rw-r--r-- | includes/image.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/image.inc b/includes/image.inc index 1b1301a2c..9dea8d52c 100644 --- a/includes/image.inc +++ b/includes/image.inc @@ -11,7 +11,7 @@ function image_get_available_toolkits() { $output = array(); foreach ($toolkits as $file => $toolkit) { - include_once($file); + include_once "./$file"; $function = str_replace('.', '_', $toolkit->name) .'_info'; if (function_exists($function)) { $info = $function(); @@ -31,7 +31,7 @@ function image_get_toolkit() { static $toolkit; if (!$toolkit) { $toolkit = variable_get('image_toolkit', 'gd'); - $toolkit_file = 'includes/image.'.$toolkit.'.inc'; + $toolkit_file = './includes/image.'.$toolkit.'.inc'; if ($toolkit != 'gd' && file_exists($toolkit_file)) { include_once $toolkit_file; } |