Support » Plugin: AntiVirus » Plugin won't work with non-standard themes/plugins paths

  • Resolved Marco

    (@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’, ‘http://’.$_SERVER[‘SERVER_NAME’].’/blog’);
    define(‘WP_PLUGIN_DIR’, $_SERVER[‘DOCUMENT_ROOT’].’/blog/addons’);
    define(‘WP_PLUGIN_URL’, ‘http://’.$_SERVER[‘SERVER_NAME’].’/blog/addons’);

    Cheers,
    Marco

    http://wordpress.org/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.