Reply To: ABSPATH issue

Home Forums AdRotate for WordPress General Support ABSPATH issue Reply To: ABSPATH issue

#30954

Arnan
Badges:

So what would be a suitable replacement for ABSPATH? Keep in mind that the banners folder can be anywhere on the domain. So WP_CONTENT_DIR is not suitable.

As stated in a bunch of docs, WP_CONTENT_DIR is not to be used by plugins and themes. For example in this page: https://codex.wordpress.org/Determining_Plugin_and_Content_Directories
And it lists no viable alternative.

You may be interested in