GlobalConfig.php
639 Bytes
<?php
/**
* Created by PhpStorm.
* User: liuziyang
* Date: 14-5-13
* Time: 7:34
*/
class QLibConfigs_GlobalConfig
{
static $cookie_lifttime = 31536000;
static $secret_key = 'adaosdaoisi';
static $cookie_key = '212d2d358e09d401a77a850f4ea45634';
static $domain = '.beastore.com';
static $cookie_name = '__ADMINX_ID';
static $session_name = '__ADMINX_ID';
static $token_name = '__ADMINX_TOKEN';
static $website_title = '后台管理';
static $login_expires_day = 30;
static function confusionPassword($password)
{
return strrev($password . '_' . self::$secret_key);
}
}