From c1ce89633d94aa43f6ebafb32e1c09894bb50468 Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 7 May 2025 11:17:57 +0200 Subject: [PATCH] Fix else part of if statement --- application/models/Clublog_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Clublog_model.php b/application/models/Clublog_model.php index 13f6af2bf..7b3a15ee6 100644 --- a/application/models/Clublog_model.php +++ b/application/models/Clublog_model.php @@ -59,8 +59,8 @@ class Clublog_model extends CI_Model if ($this->config->item('directory') != "") { $filepath = $_SERVER['DOCUMENT_ROOT'] . "/" . $this->config->item('directory') . "/" . $file_info['server_path']; } else { + $filepath = $_SERVER['DOCUMENT_ROOT'] . "/" . $file_info['server_path']; } - $filepath = $_SERVER['DOCUMENT_ROOT'] . "/" . $file_info['server_path']; // Check if the file actually exists if (!file_exists($filepath)) {