• Resolved MacSteini

    (@macsteini)


    G’day,

    Your plugin works like a charm with standard installations, but it quits working when moving the default plugins and themes directories to another location:
    define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’].’/blog’);
    define(‘WP_CONTENT_URL’, ‘https://’.$_SERVER[‘SERVER_NAME’].’/blog’);
    define(‘WP_PLUGIN_DIR’, $_SERVER[‘DOCUMENT_ROOT’].’/blog/addons’);
    define(‘WP_PLUGIN_URL’, ‘https://’.$_SERVER[‘SERVER_NAME’].’/blog/addons’);

    Cheers,
    Marco

    https://www.ads-software.com/extend/plugins/antivirus/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin won't work with non-standard themes/plugins paths’ is closed to new replies.