Proyectos de Subversion LeadersLinked - Services

Rev

Rev 807 | Rev 809 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 807 Rev 808
Línea 123... Línea 123...
123
            }
123
            }
Línea 124... Línea 124...
124
            
124
            
125
            $storageFileMapper = \LeadersLinked\Mapper\StorageFileMapper::getInstance($this->adapter);
125
            $storageFileMapper = \LeadersLinked\Mapper\StorageFileMapper::getInstance($this->adapter);
Línea 126... Línea 126...
126
            $storageFile = $storageFileMapper->fetchOneByCode($code);
126
            $storageFile = $storageFileMapper->fetchOneByCode($code);
127
            
127
            
Línea 128... Línea 128...
128
            $storageDir = $this->config['leaderslinked.storage.path'];
128
            $storageDir = $this->config['leaderslinked.storage.path'] ?? null;
Línea 129... Línea 129...
129
            $storageFileFullPath = $storageDir . DIRECTORY_SEPARATOR . $storageFile->path;
129
            $storageFileFullPath = $storageDir ? $storageDir . DIRECTORY_SEPARATOR . $storageFile->path : $storageFile->path;