• Resolved gillessimondunigech

    (@gillessimondunigech)


    Hi

    I’ve just add the following line to getDataFile() so it also search in
    WP_CONTENT_DIR/blogs.dir/<blog number>/papercite-data

    global $wpdb;
    $blog_id_root=is_multisite() ? ‘/blogs.dir/’.$wpdb->blogid.’/files/’ : ‘/uploads/’;

    $path = WP_CONTENT_DIR . $blog_id_root .”papercite-data/$path/$uri”;
    if (file_exists($path)) return $path;

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: papercite] multi-site data dir’ is closed to new replies.