This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Quill
mirror of
https://github.com/aaronpk/Quill.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
check if dbType is set, otherwise use mysql
pull/41/head
Aaron Parecki
8 years ago
parent
904782f973
commit
bd97d362c7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/helpers.php
+ 1
- 1
lib/helpers.php
View File
@ -1,6 +1,6 @@
<
?
php
if
(
Config
::
$dbType
==
'sqlite'
)
{
if
(
isset
(
Config
::
$dbType
)
&&
Config
::
$dbType
==
'sqlite'
)
{
ORM
::
configure
(
'sqlite:'
.
Config
::
$dbFilePath
);
}
else
{
ORM
::
configure
(
'mysql:host='
.
Config
::
$dbHost
.
';dbname='
.
Config
::
$dbName
);
Write
Preview
Loading…
Cancel
Save