Skip to content

Commit 97d2c20

Browse files
authored
Merge pull request #580 from rogercgui/fix-opac-myabcd
Fixes concatenation error for Linux.
2 parents 2b3d5c9 + 0a22dfe commit 97d2c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/htdocs/opac/myabcd/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// (head-my.php NÃO PODE ser o primeiro a ser chamado)
44
// Usamos realpath para garantir que os caminhos funcionem
55

6-
include_once(realpath(__DIR__ . '../../../central/config_opac.php'));
7-
include_once(realpath(__DIR__ . '../../functions.php')); // Inicia a sessão
6+
include_once(realpath(__DIR__ . '/../../central/config_opac.php'));
7+
include_once(realpath(__DIR__ . '/../functions.php'));
88

99
// --- 2. VERIFICAÇÃO DE SEGURANÇA (ANTES DE QUALQUER HTML) ---
1010
if (!isset($_SESSION['user_id']) || empty($_SESSION['user_id'])) {

0 commit comments

Comments
 (0)