use __DIR__ magic constant instead of dirname(__FILE__)
Merge pull request #11 from isaacgrant/dir-magic-constant

use __DIR__ magic constant instead of dirname(__FILE__)