mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
8c893b4a32
commit
97ba26def6
@ -7,7 +7,7 @@
|
||||
|
||||
- Release v2.1.5-2023.09 🎉
|
||||
- Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17)
|
||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix)
|
||||
|
@ -15,11 +15,11 @@ function get_sql_log ()
|
||||
|
||||
foreach ($CACHES->obj as $cache_name => $cache_obj)
|
||||
{
|
||||
if (!empty($cache_obj->db))
|
||||
if (!empty($cache_obj->db->dbg))
|
||||
{
|
||||
$log .= get_sql_log_html($cache_obj->db, "cache: $cache_name [{$cache_obj->db->engine}]");
|
||||
}
|
||||
elseif (!empty($cache_obj->engine))
|
||||
elseif (!empty($cache_obj->dbg))
|
||||
{
|
||||
$log .= get_sql_log_html($cache_obj, "cache: $cache_name [{$cache_obj->engine}]");
|
||||
}
|
||||
@ -29,11 +29,11 @@ function get_sql_log ()
|
||||
|
||||
if (!empty($datastore->db->dbg))
|
||||
{
|
||||
$log .= get_sql_log_html($datastore->db, 'cache: datastore ['.$datastore->engine.']');
|
||||
$log .= get_sql_log_html($datastore->db, "cache: datastore [{$datastore->db->engine}]");
|
||||
}
|
||||
else if(!empty($datastore->dbg))
|
||||
{
|
||||
$log .= get_sql_log_html($datastore, 'cache: datastore ['.$datastore->engine.']');
|
||||
$log .= get_sql_log_html($datastore, "cache: datastore [{$datastore->engine}]");
|
||||
}
|
||||
|
||||
return $log;
|
||||
|
Loading…
Reference in New Issue
Block a user