__DIR__ not supported until PHP 5.3

__DIR__ not supported until PHP 5.3