__DIR__  will only work in PHP >= 5.3 
http://php.net/manual/de/language.constants.predefined.php