Fix to make Generator compatible with PHP 5.3.3
Merge pull request #19 from trideout/master

Changed /Database/Generator for 5.3.3