Commit 8382d689 authored by 蒋林's avatar 蒋林

galanz cookie 命名方式修改

parent 51a58392
......@@ -17,8 +17,8 @@ class SourceGalanz extends Source
public function __construct($account)
{
self::$account = $account;
self::$cookieFilePath = PUBDIR . "cookie/galanz_". self::$account['username'] .".cookie";
self::$captchaFilePath = PUBDIR . "captcha/galanz_". self::$account['username'] .".gif";
self::$cookieFilePath = PUBDIR . "cookie/galanz_". md5(self::$account['username']) .".cookie";
self::$captchaFilePath = PUBDIR . "captcha/galanz_". md5(self::$account['username']) .".gif";
//debug
self::$debug = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment