diff --git a/lib/custom.php b/lib/custom.php index f465ed1..e760918 100644 --- a/lib/custom.php +++ b/lib/custom.php @@ -10,9 +10,9 @@ public static function showconfig() { if (file_exists($configPath)) { $configContent = file_get_contents($configPath); - echo '
' . htmlspecialchars($configContent) . '
'; + return '
' . htmlspecialchars($configContent) . '
'; } else { - echo '
Config not found
'; + return '
Config not found
'; } }