diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-03 17:09:05 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-03 17:09:05 +1000 |
| commit | f4f76bf3c6824dcd3339c3616ab1c14ceb1c8f7b (patch) | |
| tree | c535126f6d7b07fbe7f937181240fb144b908033 /kusabax.php | |
| parent | f25ddbb3a623fd4d314ecdf389568b417791f1cb (diff) | |
check if configured before running
Diffstat (limited to 'kusabax.php')
| -rwxr-xr-x | kusabax.php | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |
