Reply To: ABSPATH issue

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

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.