We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b3d5c9 + 0a22dfe commit 97d2c20Copy full SHA for 97d2c20
www/htdocs/opac/myabcd/index.php
@@ -3,8 +3,8 @@
3
// (head-my.php NÃO PODE ser o primeiro a ser chamado)
4
// Usamos realpath para garantir que os caminhos funcionem
5
6
-include_once(realpath(__DIR__ . '../../../central/config_opac.php'));
7
-include_once(realpath(__DIR__ . '../../functions.php')); // Inicia a sessão
+include_once(realpath(__DIR__ . '/../../central/config_opac.php'));
+include_once(realpath(__DIR__ . '/../functions.php'));
8
9
// --- 2. VERIFICAÇÃO DE SEGURANÇA (ANTES DE QUALQUER HTML) ---
10
if (!isset($_SESSION['user_id']) || empty($_SESSION['user_id'])) {
0 commit comments