Revert "Use $apps_dir['url'] as absolute URL path"

This reverts commit da84eb337fa34330bfc02d2ac8f33eb7166e75c0.