diff --git a/helpers/url.php b/helpers/url.php index 0040d64..f526016 100644 --- a/helpers/url.php +++ b/helpers/url.php @@ -10,7 +10,7 @@ function h_url_load_config(string $path, string $sub = null) { } $url['base'] .= '/'; if($sub != null) { - $url['base'] .= $sub . '/'; + $url['base'] .= $url[$sub] . '/'; } return $url['base'] . $path; }