Using dirname instead of __DIR__ for PHP <5.3 support
Upping version