Replaced __DIR__ to be PHP 5.2 compatible