PHP Thumb » Help & Bugs » Bugs

include path in ThumbLib.inc.php

(5 posts)
  1. alex
    Member

    First of all, congratulations on your new version!

    When including ThumbLib.inc.php from my index.php file, the paths to the PhpThumb.inc.php, ThumbBase.inc.php and GdThumb.inc.php need to be relative to the path of my index.php file.
    A workaround is to adjust the paths to the included files inside ThumbLib.inc, but perhaps it's better to implement a universal method to determine the right path?

    Posted 2 years ago #
  2. Yeah, I could probably put some dirname magic in there, but that's not always reliable either (if people change up the file layout for whatever reason). I'd file a bug if I were you, and I'll look into it :)

    Posted 2 years ago #
  3. alex
    Member

    I'd file a bug if I were you, and I'll look into it :)

    Well, since this is the bug department... hereby :)
    Maybe a seperate config file is an idea, so the settings will be maintained when upgrading to a new version.

    Posted 2 years ago #
  4. True enough, but I meant over on the bug tracker: http://trac.gxdlabs.com/projects/phpthumb/newticket

    That way you can track the progress of the whole thing... if not, I'll just get to it at some point anyway :)

    Posted 2 years ago #
  5. alex
    Member

    done :)

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.