Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 37703 | Differences between
and this patch

Collapse All | Expand All

(-)openca-base-1.1.1/src/common/lib/functions/initServer (-12 / +12 lines)
Lines 64-69 Link Here
64
our ($cryptoShell, $tools, $db, $cmd, $self, $query, $session);
64
our ($cryptoShell, $tools, $db, $cmd, $self, $query, $session);
65
our ($versions, $errno, $errval, $log, $journal);
65
our ($versions, $errno, $errval, $log, $journal);
66
our ($xml_cache, $ui_html);
66
our ($xml_cache, $ui_html);
67
our ($curr_user);
67
68
68
$role_config = undef;
69
$role_config = undef;
69
$ui_html     = undef;
70
$ui_html     = undef;
Lines 259-272 Link Here
259
260
260
    ## initialize output module
261
    ## initialize output module
261
    $ui_html = OpenCA::UI::HTML->new (
262
    $ui_html = OpenCA::UI::HTML->new (
262
		HTDOCS_URL_PREFIX => getRequired('HtdocsUrlPrefix'),
263
		HTDOCS_URL_PREFIX 	=> getRequired('HtdocsUrlPrefix'),
263
		SUPPORT_EMAIL	  => $support_email,
264
		SUPPORT_EMAIL	  	=> $support_email,
264
                LANGUAGE          => $LANGUAGE,
265
		LANGUAGE          	=> $LANGUAGE,
265
                CHARSET           => $CHARSET,
266
		CHARSET           	=> $CHARSET,
266
		TOP_LOGO	  => $topLogo,
267
		TOP_LOGO	  		=> $topLogo,
267
		ENABLE_LOGIN	  => $enableLogin,
268
		ENABLE_LOGIN	  	=> $enableLogin,
268
		USER		  => $curr_user,
269
		USER		  		=> $curr_user,
269
                CGI               => $query);
270
		CGI               	=> $query);
270
271
271
    setPerformancePoint ("reinitialization complete");
272
    setPerformancePoint ("reinitialization complete");
272
273
Lines 747-756 Link Here
747
748
748
    $users = OpenCA::User->new ( DB => $db );
749
    $users = OpenCA::User->new ( DB => $db );
749
750
750
    if ( not defined ( $users )) {
751
    if ( not defined ( $users ))
751
	generalError (
752
	{
752
		i18nGettext ( "OpenCA::User init error!" );
753
		generalError (i18nGettext("OpenCA::User init error!"));
753
	);
754
    };
754
    };
755
755
756
}
756
}

Return to bug 37703