Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17044 Rev 17045
Línea 287... Línea 287...
287
     * @param Group $group
287
     * @param Group $group
288
     * @return string
288
     * @return string
289
     */
289
     */
290
    public function getGenericImage($path, $code, $filename)
290
    public function getGenericImage($path, $code, $filename)
291
    {
291
    {
292
        $remoto = self::BASE_PATH . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . $code . DIRECTORY_SEPARATOR .  $filename;
292
        $remoto = $path . DIRECTORY_SEPARATOR . $code . DIRECTORY_SEPARATOR . $filename;
293
 
-
 
Línea 294... Línea 293...
294
 
293
 
295
        if (file_exists($remoto)) {
294
        if (file_exists($remoto)) {
296
            return $this->getPresignedUrl($remoto);
-
 
297
        } else {
-
 
298
            $remoto = $this->config['leaderslinked.images_default.no_image'];
-
 
299
            return $this->getPresignedUrl($remoto);
295
            return $this->getPresignedUrl($remoto);
300
        }
-
 
Línea -... Línea 296...
-
 
296
        }
-
 
297
 
-
 
298
        $remoto = $this->getFullPathImageDefault();
Línea 301... Línea 299...
301
    }
299
        return $this->getPresignedUrl($remoto);
302
 
300
    }