Replaced dirname(__FILE__) PHP 5.3.0+ __DIR__