diff --git a/htdocs/application/config/stikked.php b/htdocs/application/config/stikked.php index ece4fb3..dc7b27f 100755 --- a/htdocs/application/config/stikked.php +++ b/htdocs/application/config/stikked.php @@ -72,8 +72,8 @@ $config['per_page'] = 10; **/ $config['private_only'] = false; $config['enable_captcha'] = false; -$config['spamadmin_user'] = ''; -$config['spamadmin_pass'] = ''; +$config['spamadmin_user'] = 'a'; +$config['spamadmin_pass'] = 'a'; /** * Default language diff --git a/htdocs/application/controllers/spamadmin.php b/htdocs/application/controllers/spamadmin.php index d137acc..23c2b24 100755 --- a/htdocs/application/controllers/spamadmin.php +++ b/htdocs/application/controllers/spamadmin.php @@ -22,7 +22,7 @@ class Spamadmin extends CI_Controller if ($user == '' || $pass == '' || !isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_USER'] != $user || $_SERVER['PHP_AUTH_PW'] != $pass) { - header('WWW-Authenticate: Basic realm="Backup"'); + header('WWW-Authenticate: Basic realm="Spamadmin"'); header('HTTP/1.0 401 Unauthorized'); exit; } diff --git a/htdocs/application/views/spam_detail.php b/htdocs/application/views/spam_detail.php index 70b7e03..6b5de64 100755 --- a/htdocs/application/views/spam_detail.php +++ b/htdocs/application/views/spam_detail.php @@ -1,16 +1,20 @@ load->view('defaults/header');?>