`dirname(__DIR__)` === `dirname(dirname(__FILE__))`

So going with `dirname(__DIR__)` is just a bit simpler in my mind. You're right that there's some inconsistencies now though. We could probably update `config/application.php` to use `__DIR__` where approriate like `$root_dir`