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

use __DIR__ magic constant instead of dirname(__FILE__)