#19155609 SSO 사용 유무 설정 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7698 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2010-09-27 07:56:12 +00:00
parent 57bdeb6e19
commit 9e5d9d49bc
14 changed files with 26 additions and 1 deletions

View file

@ -354,7 +354,7 @@
**/
function checkSSO() {
// pass if it's not GET request or XE is not yet installed
if(isCrawler()) return true;
if($this->db_info->use_sso != 'Y' || isCrawler()) return true;
if(Context::getRequestMethod()!='GET' || !Context::isInstalled() || in_array(Context::get('act'),array('rss','atom'))) return true;
// pass if default URL is not set