Update index.php
This commit is contained in:
parent
e5b5524ec6
commit
b3162d3872
@ -132,10 +132,10 @@ function direcionar_ark() {
|
||||
|
||||
$arquivo_ark = file_get_contents($caminho_arquivo_ark);
|
||||
|
||||
if (empty($arquivo_ark)) {
|
||||
echo "<h1>$ark_formatado</h1> <p>Documento não encontrado.</p>";
|
||||
return;
|
||||
}
|
||||
if (!file_exists($caminho_arquivo_ark)) {
|
||||
return "<h1>$ark_formatado</h1> <p>Documento não encontrado.</p>";
|
||||
}
|
||||
|
||||
|
||||
if(file_exists($caminho_arquivo_ark)){
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user