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

use __DIR__ magic constant instead of dirname(__FILE__)