up
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user