mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix else part of if statement
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user