Constant `__DIR__` replaced with `dirname(__FILE__)` as `__DIR__` is not supported in PHP versions older than 5.3