mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Some security improvements 🔑 (#1503)
* Some security improvements 🔑
* Update .env.example
* Update Dev.php
* Update CHANGELOG.md
* Update Dev.php
* Update Ajax.php
* Update SqlDb.php
* Updated
* Updated
* Update Dev.php
* Update page_header.tpl
* Updated
* Updated
* Update CHANGELOG.md
This commit is contained in:
parent
3562a5f63a
commit
0663f55e54
21 changed files with 117 additions and 83 deletions
|
@ -71,7 +71,7 @@ if (!empty($_COOKIE['explain'])) {
|
|||
}
|
||||
}
|
||||
|
||||
$sql_log = !empty($_COOKIE['sql_log']) ? \TorrentPier\Dev::get_sql_log() : false;
|
||||
$sql_log = !empty($_COOKIE['sql_log']) ? $debug->getSqlLog() : false;
|
||||
|
||||
if ($sql_log) {
|
||||
echo '<div class="sqlLog" id="sqlLog">' . $sql_log . '</div><!-- / sqlLog --><br clear="all" />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue