use __DIR__ for dirname(__FILE__)



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/zencart/zc-v1-series/253)
<!-- Reviewable:end -->

Thanks, but `realpath` is unnecessary:  http://3v4l.org/HiAlI