mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
b9c21afa37
commit
b339c9cd70
2
library/includes/cache/memcache.php
vendored
2
library/includes/cache/memcache.php
vendored
@ -44,7 +44,7 @@ class cache_memcache extends cache_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($con_error);
|
die($con_error);
|
||||||
|
2
library/includes/cache/redis.php
vendored
2
library/includes/cache/redis.php
vendored
@ -44,7 +44,7 @@ class cache_redis extends cache_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($con_error);
|
die($con_error);
|
||||||
|
4
library/includes/cache/sqlite.php
vendored
4
library/includes/cache/sqlite.php
vendored
@ -157,7 +157,7 @@ class sqlite_common extends cache_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($create_error, "{$this->engine}-CACHE-mkdir-FAIL_" . TIMENOW);
|
dbg_log($create_error, "{$this->engine}-CACHE-mkdir-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($create_error);
|
die($create_error);
|
||||||
@ -183,7 +183,7 @@ class sqlite_common extends cache_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($con_error);
|
die($con_error);
|
||||||
|
@ -50,7 +50,7 @@ class sql_db
|
|||||||
$init_error = "Error: {$this->engine} extension not installed";
|
$init_error = "Error: {$this->engine} extension not installed";
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($init_error, "{$this->engine}-DB-INIT-FAIL_" . TIMENOW);
|
dbg_log($init_error, "{$this->engine}-DB-INIT-FAIL");
|
||||||
}
|
}
|
||||||
die($init_error);
|
die($init_error);
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ class sql_db
|
|||||||
$charset_error = "Could not set charset '{$this->cfg['charset']}'";
|
$charset_error = "Could not set charset '{$this->cfg['charset']}'";
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($charset_error, "{$this->cfg['charset']}-DB-charset-FAIL_" . TIMENOW);
|
dbg_log($charset_error, "{$this->cfg['charset']}-DB-charset-FAIL");
|
||||||
}
|
}
|
||||||
die($charset_error);
|
die($charset_error);
|
||||||
}
|
}
|
||||||
@ -116,7 +116,7 @@ class sql_db
|
|||||||
$con_error = "Could not connect to {$this->engine} server $server";
|
$con_error = "Could not connect to {$this->engine} server $server";
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->cfg['dbhost']}-DB-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->cfg['dbhost']}-DB-connect-FAIL");
|
||||||
}
|
}
|
||||||
die($con_error);
|
die($con_error);
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ class sql_db
|
|||||||
$select_error = "Could not select database $db_name";
|
$select_error = "Could not select database $db_name";
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($select_error, "{$this->cfg['dbname']}-DB-select-FAIL_" . TIMENOW);
|
dbg_log($select_error, "{$this->cfg['dbname']}-DB-select-FAIL");
|
||||||
}
|
}
|
||||||
die($select_error);
|
die($select_error);
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ class datastore_memcache extends datastore_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($con_error);
|
die($con_error);
|
||||||
|
@ -43,7 +43,7 @@ class datastore_redis extends datastore_common
|
|||||||
|
|
||||||
if (DBG_LOG)
|
if (DBG_LOG)
|
||||||
{
|
{
|
||||||
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL_" . TIMENOW);
|
dbg_log($con_error, "{$this->engine}-CACHE-connect-FAIL");
|
||||||
}
|
}
|
||||||
|
|
||||||
die($con_error);
|
die($con_error);
|
||||||
|
Loading…
Reference in New Issue
Block a user