]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
wrong variable for image magick path
authorCash Costello <cash.costello@gmail.com>
Sun, 12 Jul 2009 00:09:08 +0000 (00:09 +0000)
committerCash Costello <cash.costello@gmail.com>
Sun, 12 Jul 2009 00:09:08 +0000 (00:09 +0000)
lib/resize.php
lib/watermark.php

index a2c522eb8f6be32cae45b0b3a61f344f2c657d94..a346fc272d69a4282db9f6a2c3eac35c3e43296d 100644 (file)
                                        $newheight = $maxheight;\r
                                        $newwidth = $maxwidth;\r
                                }\r
-                               $im_path = get_plugin_setting('convert_command', 'tidypics');\r
+                               $im_path = get_plugin_setting('im_path', 'tidypics');\r
                                if(!$im_path) {\r
                                        $im_path = "/usr/bin/";\r
                                }\r
index 330ae7b29a026bfd72bb9ffc4ac40bcbef28c1bd..095b10eac607269522d615819044145a8e1bf092 100644 (file)
@@ -7,7 +7,7 @@ function tp_watermark($thumbs) {
        $user = get_user_entity_as_row($album->owner_guid);
        $username = $user->username;
 
-       $im_path = get_plugin_setting('convert_command', 'tidypics');
+       $im_path = get_plugin_setting('im_path', 'tidypics');
        if(!$im_path) {
                $im_path = "/usr/bin/";
        }