diff --git a/index.php b/index.php index b7fe278..c1328dc 100644 --- a/index.php +++ b/index.php @@ -31,8 +31,8 @@ if (file_exists($filename)) { if(is_dir($p)) { $path = $p; define('TXT_PATH', $p); - } else { - header('Location: /'); + } else { + header('Location: ./src/config.php'); } // Misc functions