mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-24 07:39:59 +08:00
Changed public getImageURL function to private.
This commit is contained in:
@ -133,7 +133,7 @@ class BookController extends Controller
|
|||||||
* @param $image
|
* @param $image
|
||||||
* @return $path
|
* @return $path
|
||||||
*/
|
*/
|
||||||
public function getBookCoverURL($image)
|
private function getBookCoverURL($image)
|
||||||
{
|
{
|
||||||
$input = time().'-'.$image->getClientOriginalName();
|
$input = time().'-'.$image->getClientOriginalName();
|
||||||
$destinationPath = public_path('uploads/book/');
|
$destinationPath = public_path('uploads/book/');
|
||||||
|
Reference in New Issue
Block a user