Changeset 8944
- Timestamp:
- Nov 4, 2008, 6:02:22 PM (11 years ago)
- Location:
- OpenPNE/trunk/webapp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/lib/OpenPNE/Auth.php
r8803 r8944 46 46 * + options: PEAR::Auth用オプション 47 47 * + is_ktai: 携帯用認証かどうか 48 * + is_admin: 管理画面用認証かどうか 48 49 * + is_encrypt_username: usernameをt_encryptで暗号化するかどうか 49 50 * + is_lowercase_username: usernameを強制的に小文字にするかどうか -
OpenPNE/trunk/webapp/modules/portal/auth.inc
r8802 r8944 3 3 require_once 'OpenPNE/Auth.php'; 4 4 5 $auth = new OpenPNE_Auth(); 5 $config['is_admin'] = true; 6 $auth = new OpenPNE_Auth($config); 6 7 $auth->setExpire($GLOBALS['OpenPNE']['admin']['session_lifetime']); 7 8 $auth->setIdle($GLOBALS['OpenPNE']['admin']['session_idletime']);
Note: See TracChangeset
for help on using the changeset viewer.