mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
better way to initialize storage libs
This commit is contained in:
1 parent
c3435c30ef
commit
7350d4e447
4 files changed
+16
-91
No files matched your search
@@ -260,7 +260,7 @@ abstract class Worker
|
||||
* @param string $root path of the device
|
||||
* @return Device
|
||||
*/
|
||||
private function getDevice($root): Device
|
||||
public function getDevice($root): Device
|
||||
{
|
||||
switch (App::getEnv('_APP_STORAGE_DEVICE', Storage::DEVICE_LOCAL)) {
|
||||
case Storage::DEVICE_LOCAL:default:
|
||||
|
||||
Reference in new issue
Block a user