mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 20:19:12 +08:00
14 lines
186 B
PHP
14 lines
186 B
PHP
<?php
|
|
|
|
namespace Oxbow;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Image extends Model
|
|
{
|
|
public function getFilePath()
|
|
{
|
|
return storage_path() . $this->url;
|
|
}
|
|
}
|