This commit is contained in:
Lizandro Guarnizo
2026-02-20 11:21:06 -05:00
parent c9ec58979e
commit 602e6d3724
11 changed files with 130 additions and 30 deletions
+1
View File
@@ -140,6 +140,7 @@ if ($mediaId) {
// ── Si no hay archivo local, descargar con MediaService y guardar como cache permanente ──
if ($mediaId) {
try {
set_time_limit(180); // Dar tiempo suficiente para fotos grandes (hasta 5MB)
require_once __DIR__ . '/../../classes/MediaService.php';
$ms = new MediaService();
$subdir = date('Y/m');