WordPress.org

Ready to get started?Download WordPress

Forums

papercite
[resolved] multi-site data dir (4 posts)

  1. gilles.simond@unige.ch
    Member
    Posted 3 years ago #

    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;

    http://wordpress.org/extend/plugins/papercite/

  2. bpiwowar
    Member
    Plugin Author

    Posted 3 years ago #

    OK, this will be added to the next version.

    Thanks,
    benjamin

  3. bpiwowar
    Member
    Plugin Author

    Posted 3 years ago #

    You can follow/comment through this URL

    http://trac.bpiwowar.net/papercite/issues/16

    thanks
    benjamin

  4. bpiwowar
    Member
    Plugin Author

    Posted 3 years ago #

    Included in 0.3.0, to be released at the end of the week.

    Benjamin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags