From d47d4f39a83f0b611be8fe6217055d092fb254e7 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 25 Apr 2017 11:40:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E6=9B=B4=E6=96=B0=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=85=B3=E9=94=AE=E5=AD=97=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 15 ++++++++------- application/wechat/view/keys.form.html | 6 ++++-- index.php | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 281c60475..9faf8c5e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ -!.gitignore -/.idea -/.svn -/runtime/ -/composer.lock -/public/upload -/nbproject +!.gitignore +/.idea +/.svn +/runtime/ +/composer.lock +/public/upload +/nbproject +/static/runtime/ \ No newline at end of file diff --git a/application/wechat/view/keys.form.html b/application/wechat/view/keys.form.html index 156499bd6..64bfbefbd 100644 --- a/application/wechat/view/keys.form.html +++ b/application/wechat/view/keys.form.html @@ -250,11 +250,13 @@ -
+
{if !isset($vo.keys) || !in_array($vo.keys,['default','subscribe'])} - {/if} diff --git a/index.php b/index.php index f553d3d33..b808f6d38 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ // +---------------------------------------------------------------------- /* SESSION会话名称 */ -session_name('sess' . substr(md5(__FILE__)), 0, 8); +session_name('s' . substr(md5(__FILE__), 0, 8)); /* 定义应用目录 */ define('APP_PATH', __DIR__ . '/application/');