Updating some dirname() to __DIR__ and double to single quotes
Merge pull request #795 from jtreminio/dirname-to-dir

Updating some dirname() to __DIR__ and double to single quotes