Skip to:
Content

BuddyPress.org

Changeset 8


Ignore:
Timestamp:
04/03/2008 06:25:53 PM (17 years ago)
Author:
apeatling
Message:

fixed profile picture permission errors, profile pictures can now be uploaded and activated

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp_core.php

    r3 r8  
    1010 *
    1111 **************************************************/
     12
     13ini_set("memory_limit","12M");
    1214
    1315function setup_tabs()
  • trunk/bp_xprofile/bp_xprofile.classes.php

    r7 r8  
    10061006
    10071007        $uploads = array(
    1008             "path" => $this->path,
    10091008            "url" => trailingslashit(get_option('siteurl')) . 'files/profilepics',
    10101009            "error" => false);
     
    10271026            $filename = explode("/", $image['file']);
    10281027            $filename = $filename[count($filename) - 1];
     1028            rename($image['file'], $this->path . "/" . $filename);
     1029
    10291030            $this->populate($filename);
    10301031       
Note: See TracChangeset for help on using the changeset viewer.