Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!file_exists($filepathb)) {
- $userfile="wp-content/blogs.dir/".$blog_id;
- $userfolder="wp-content/blogs.dir/".$blog_id."/files";
- mkdir($userfile);
- mkdir($userfolder);
- }
- mkdir($cachepatha);
- $newfilelocation=$filepathb."/categorya.jpg";
- if (file_exists("wp-content/uploads/1.jpg"))
- {
- copy ("wp-content/uploads/1.jpg", $newfilelocation) or die ("Could not copy file");
- }
Add Comment
Please, Sign In to add comment