I would rename `APP_ROOT` to `WEB_ROOT` to avoid confusion with the content dir that is named app, also as said in the pull request description its commonly referred as webroot; maybe also move this constant up near `$root_dir` definition since this section is about custom content dir, just my 2 cents ;)

anyway good PR :+1: