mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Use the Storm File model's getLocalRootPath() implementation
This override is no longer required as of c62ee79d7d
This commit is contained in:
parent
f0a442b4f1
commit
605c2eaa7f
@ -2,7 +2,6 @@
|
||||
|
||||
use Url;
|
||||
use Config;
|
||||
use File as FileHelper;
|
||||
use Storage;
|
||||
use Winter\Storm\Database\Attach\File as FileBase;
|
||||
use Backend\Controllers\Files;
|
||||
@ -58,14 +57,6 @@ class File extends FileBase
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* If working with local storage, determine the absolute local path.
|
||||
*/
|
||||
protected function getLocalRootPath()
|
||||
{
|
||||
return Config::get('filesystems.disks.local.root', storage_path('app'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the public address for the storage path.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user