mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
관리자 페이지 패키지별 UI 적용을 위한 1차 작업 마무리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
856ab513ec
commit
ba4e9e26e2
248 changed files with 3520 additions and 3424 deletions
31
modules/ldap/ldap.admin.controller.php
Normal file
31
modules/ldap/ldap.admin.controller.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* @class ldapAdminController
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief ldap 모듈의 admin controller class
|
||||
**/
|
||||
|
||||
class ldapAdminController extends ldap {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief LDAP 인증 연동 설정
|
||||
**/
|
||||
function procLdapAdminInsertConfig() {
|
||||
// 기본 정보를 받음
|
||||
$args = Context::gets('use_ldap','ldap_server','ldap_port','ldap_userdn_suffix','ldap_basedn','ldap_email_entry','ldap_nickname_entry','ldap_username_entry','ldap_group_entry');
|
||||
if($args->use_ldap !='Y') $args->use_ldap = 'N';
|
||||
if(!$args->ldap_port) $args->ldap_port = 389;
|
||||
|
||||
// module Controller 객체 생성하여 입력
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('ldap',$args);
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue