Skip to content

Commit

Permalink
修改
Browse files Browse the repository at this point in the history
  • Loading branch information
xx502003587 committed Jun 19, 2016
1 parent 2240cda commit b99d999
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/Http/Controllers/Album/AlbumController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,17 @@ public function addAlbum(){
$newName = $clientName;
$path = $file[$i]->move(public_path() . '\uploads\album', $newName);
$tempPath = $tempPath . "/uploads/album/" . $newName . ";";

}

}

//var_dump($file);
// var_dump($file);
// echo "#".$tempPath."#";

if($tempPath == "" || $tempPath == null){
$tempPath = "/images/mo.jpg;";
}


$name = \DB::table('users')->where('id', $uid)->pluck('name');
Expand All @@ -76,7 +82,7 @@ public function addAlbum(){
);


//return "asdfasf";
//return ".";
return \Redirect::intended('/showAlbums');

//return $file123;
Expand Down

0 comments on commit b99d999

Please sign in to comment.