issue 90 apply patch.

show security login message by config status


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9827 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-11-17 01:46:59 +00:00
parent 5af206c9a7
commit 339b2de797
6 changed files with 21 additions and 13 deletions

View file

@ -282,6 +282,16 @@ class Context {
return $self->db_info;
}
/**
* @brief return ssl status
* @return none|always|optional
**/
function getSslStatus()
{
$dbInfo = Context::getDBInfo();
return $dbInfo->use_ssl;
}
/**
* @brief return default URL
* @return default URL string