versao word 3
This commit is contained in:
parent
ce24996ce4
commit
369b14c872
@ -148,7 +148,7 @@ header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
|
|||||||
<div class="images-section" style="page-break-before: always;">
|
<div class="images-section" style="page-break-before: always;">
|
||||||
<?php foreach ($images as $image):
|
<?php foreach ($images as $image):
|
||||||
// Construir caminho absoluto de forma mais robusta
|
// Construir caminho absoluto de forma mais robusta
|
||||||
$image_full_path = __DIR__ . '/' . $image['image_path'];
|
$image_full_path = realpath(__DIR__ . '/' . $image['image_path']);
|
||||||
|
|
||||||
if (file_exists($image_full_path)) {
|
if (file_exists($image_full_path)) {
|
||||||
// Tentar obter o tipo MIME
|
// Tentar obter o tipo MIME
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user