Skip to content

Commit 3e4fbc9

Browse files
author
hooray
committed
更新 mdeoo
1 parent 0a05491 commit 3e4fbc9

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎global.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
define('ROOT', dirname(__FILE__));
33
chdir(ROOT);
44
//数据库操作类
5-
require('inc/medoo.php');
5+
require('inc/Medoo.php');
66
//函数库
77
require('inc/functions.php');
88
require('inc/functions.private.php');

‎inc/medoo.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/*!
55
* Medoo database framework
66
* http://medoo.in
7-
* Version 1.2
7+
* Version 1.2.1
88
*
99
* Copyright 2017, Angel Lai
1010
* Released under the MIT license
@@ -103,7 +103,7 @@ public function __construct($options = null)
103103

104104
if ($is_port)
105105
{
106-
$dsn['port'] = $port;
106+
$attr['port'] = $port;
107107
}
108108
}
109109

@@ -120,7 +120,7 @@ public function __construct($options = null)
120120

121121
if ($is_port)
122122
{
123-
$dsn['port'] = $port;
123+
$attr['port'] = $port;
124124
}
125125

126126
break;
@@ -134,7 +134,7 @@ public function __construct($options = null)
134134

135135
if ($is_port)
136136
{
137-
$dsn['port'] = $port;
137+
$attr['port'] = $port;
138138
}
139139

140140
break;
@@ -149,7 +149,7 @@ public function __construct($options = null)
149149

150150
if (isset($options['charset']))
151151
{
152-
$dsn['charset'] = $options['charset'];
152+
$attr['charset'] = $options['charset'];
153153
}
154154

155155
break;
@@ -174,7 +174,7 @@ public function __construct($options = null)
174174

175175
if ($is_port)
176176
{
177-
$dsn['port'] = $port;
177+
$attr['port'] = $port;
178178
}
179179

180180
// Keep MSSQL QUOTED_IDENTIFIER is ON for standard quoting

‎static/plugins/jquery-3.1.0.min.js‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎static/plugins/jquery-3.2.1.min.js‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)