diff --git a/karaoke-management.php b/karaoke-management.php index ae3256f..13c22e6 100644 --- a/karaoke-management.php +++ b/karaoke-management.php @@ -38,7 +38,7 @@ function main() break; case 'downloadmusic': echo "This function has an old CLI! Opening CLI...\n-----------\n"; - $audiovideo = new AudioVideoHandler(); + new AudioVideoHandler(); echo "CLI exited. Continue with new CLI...\n"; break; case 'setsid': @@ -49,6 +49,9 @@ function main() } echo "Function not completed yet!\n"; break; + case 'exit': + echo "Have a nice dayyyy!!\n"; + exit(); default: echo "Unkown command. Use help for help.\n"; break;