Joseph - 2012-02-23 17:05:48 - In reply to message 1 from cicero cavati
Sorry - I moved to a new setup this summer with PHP 5.3 installed, so I've done little testing for PHP 5.2, but that's where this project started. Just before release I broke up large files into little ones for greater modularity, and the final release was not tested on PHP 5.2.
I updated the file "include_modules.php" so it will not include specified filenames. The file "Rainbow~IrregularPolygons.php" should only be loaded under PHP 5.3. The file "Rainbow~plugInShapes.php" was modified to tell the "include_modules" function to ignore the "Rainbow~IrregularPolygons.php" file.
I also found a bug in the "Rainbow.Gradient.php" file in the rotate_box function that was adding an extra row of pixels when rotating a 1 pixel wide linear gradient. But I have not extensively tested this, or dived deep back into the code to see if this will adversely affect wider graphics when rotated, by making them loose a pixel in width. But if memory serves as to the nature of the code, this will be a fully working fix.