From 6c689d58b9ec8011ea8f138043b9460166316fc2 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 10 Feb 2017 01:33:20 -0500 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=B3=BB=E7=BB=9F=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=87=BD=E6=95=B0sysconf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/login.index.html | 5 ++--- application/common.php | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/application/admin/view/login.index.html b/application/admin/view/login.index.html index d8d94f579..cd1993186 100644 --- a/application/admin/view/login.index.html +++ b/application/admin/view/login.index.html @@ -12,8 +12,7 @@ -
+
diff --git a/application/common.php b/application/common.php index 619654fec..6548d268b 100644 --- a/application/common.php +++ b/application/common.php @@ -1,5 +1,6 @@ select(); + foreach ($list as $vo) { + $conf[$vo['name']] = $vo['value']; + } + } + return isset($conf[$name]) ? $conf[$name] : ''; } \ No newline at end of file