From f4f76bf3c6824dcd3339c3616ab1c14ceb1c8f7b Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 3 Jun 2011 17:09:05 +1000 Subject: [PATCH] check if configured before running --- kusabax.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kusabax.php b/kusabax.php index 4d8637e8..e70f1f1e 100755 --- a/kusabax.php +++ b/kusabax.php @@ -18,6 +18,8 @@ /* End Config */ + if(empty($kusabaxc['db']['user'])) + error('Did you forget to configure the script?'); // KusabaX functions function md5_decrypt($enc_text, $password, $iv_len = 16) {