diff --git a/README.md b/README.md index 56f20cb..e62aedd 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,24 @@ CLI: ![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-cli.png) +## SQL Query Status Monitor + +![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/sql-query-status-monitor.jpg) + +See how many queries and which types of queries have been added to the database. +To determine the amount. + +#### Switch on + +For this purpose, the parameter `$this->blSQLStatusBox = true;` must be stored in the file `config.ing.php`. +So you can turn it on and off temporarily. + +Unique: Insert, at the end, the Smarty tag: `[{tm_sql_status}]` in the `base.tpl` file. + +####### source/Application/views/flow/tpl/layout/base.tpl + +```html + [{tm_sql_status}] + + +``` diff --git a/img/screenshot-a.jpg b/img/screenshot-a.jpg index da7c347..ff9d8af 100644 Binary files a/img/screenshot-a.jpg and b/img/screenshot-a.jpg differ diff --git a/img/sql-query-status-monitor.jpg b/img/sql-query-status-monitor.jpg new file mode 100644 index 0000000..9a199e6 Binary files /dev/null and b/img/sql-query-status-monitor.jpg differ