* finish task #2728.

This commit is contained in:
wangyidong
2016-11-22 09:54:02 +08:00
parent 5765831546
commit 1fdd5206cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ $config->requestFix = '-'; // The divider in the url when PATH_IN
$config->moduleVar = 'm'; // requestType=GET: the module var name.
$config->methodVar = 'f'; // requestType=GET: the method var name.
$config->viewVar = 't'; // requestType=GET: the view var name.
$config->sessionVar = 'sid'; // requestType=GET: the session var name.
$config->sessionVar = 'zentaosid'; // requestType=GET: the session var name.
$config->allowedTags = '<p><span><h1><h2><h3><h4><h5><em><u><strong><br><ol><ul><li><img><a><b><font><hr><pre><div><table><td><th><tr><tbody><embed><style>';
$config->accountRule = '|^[a-zA-Z0-9_]{1}[a-zA-Z0-9_\.]{1,}[a-zA-Z0-9_]{1}$|';
+1 -1
View File
@@ -141,7 +141,7 @@ class misc extends control
public function qrCode()
{
$loginAPI = common::getSysURL() . $this->config->webRoot;
$session = $this->loadModel('user')->isLogon() ? '?sid=' . session_id() : '';
$session = $this->loadModel('user')->isLogon() ? '?' . $this->config->sessionVar . '=' . session_id() : '';
if(!extension_loaded('gd'))
{