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

use __DIR__ magic constant instead of dirname(__FILE__)