4111 |
init_prefs(); |
init_prefs(); |
4112 |
|
|
4113 |
if(!$global_prefs{'database'} |
if(!$global_prefs{'database'} |
4114 |
|| !$db_prefs{'user'} || !$db_prefs{'password'}) |
|| !$db_prefs{'user'}) |
4115 |
{ |
{ |
4116 |
# We don't have username/password/database; give login page then |
# We don't have username/database; give login page then |
4117 |
# redirect to the url they really want (self_url). |
# redirect to the url they really want (self_url). |
4118 |
print_header(); |
print_header(); |
4119 |
login_page($q->self_url()); |
login_page($q->self_url()); |