Browse code

fixed global variable missing

Bernd Wurst authored on 01/09/2023 11:05:03
Showing 1 changed files
... ...
@@ -442,7 +442,7 @@ function delete_repo($repo)
442 442
 
443 443
 function set_user_include()
444 444
 {
445
-    global $config_file;
445
+    global $config_file, $config_dir;
446 446
     $username = $_SESSION['userinfo']['username'];
447 447
     $userconfig = $config_dir . '/' . $username . '.conf';
448 448
     if (!file_exists($userconfig)) {