Changed /Database/Generator for 5.3.3

Removed the method getExtension and replaced with a PHP 5.3.3 compatible command