mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update lithium connections
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2016-06-25 DariusIII
|
||||
* Upd: Update lithium connections
|
||||
* Upd: Composer will prefer source now on install
|
||||
2016-06-24 DariusIII
|
||||
* Fix: Fix styling of some pages in Gentele theme
|
||||
|
||||
@@ -91,20 +91,22 @@ if (file_exists($config)) {
|
||||
}
|
||||
|
||||
if (isset($adapter)) {
|
||||
$host = empty(DB_SOCKET) ? DB_HOST : DB_SOCKET;
|
||||
if (empty(DB_SOCKET)) {
|
||||
$host = empty(DB_PORT) ? DB_HOST : DB_HOST.':'.DB_PORT;
|
||||
} else {
|
||||
$host = DB_SOCKET;
|
||||
}
|
||||
|
||||
Connections::add('default',
|
||||
[
|
||||
'type' => 'database',
|
||||
'adapter' => $adapter,
|
||||
'host' => $host,
|
||||
'port' => DB_PORT,
|
||||
'login' => DB_USER,
|
||||
'password' => DB_PASSWORD,
|
||||
'database' => DB_NAME,
|
||||
'encoding' => 'UTF-8',
|
||||
'persistent' => false,
|
||||
'socket' => DB_SOCKET,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
<precommit>9</precommit>
|
||||
<!-- this is the version of the pre-commit file in githooks NOT the files it calls -->
|
||||
</hooks>
|
||||
<commit>5324</commit></git>
|
||||
<commit>5325</commit></git>
|
||||
<scripts>
|
||||
<last>
|
||||
<date>0000-00-00</date>
|
||||
|
||||
Reference in New Issue
Block a user