mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Updated Technical Wiki (markdown)
@@ -4,4 +4,16 @@ Best project EVER.
|
|||||||
|
|
||||||
Please enable Issues in Project Settings here in GitHub for this project.
|
Please enable Issues in Project Settings here in GitHub for this project.
|
||||||
|
|
||||||
Line 1031 in adminer/adminer/drivers/mysql.inc.php can include "year", "month", "day"
|
Line 1031 in adminer/adminer/drivers/mysql.inc.php can include "year", "month", "day"
|
||||||
|
|
||||||
|
The example.php can be used to limit the tables displayed to a specific list with:
|
||||||
|
````
|
||||||
|
function tableName($tableStatus) {
|
||||||
|
// tables without comments would return empty string and will be ignored by Adminer
|
||||||
|
$allowed_tables = Array('mytable1', 'mytable2');
|
||||||
|
if (in_array($tableStatus["Name"], $allowed_tables))
|
||||||
|
return h($tableStatus["Comment"]);
|
||||||
|
else
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
````
|
||||||
|
Reference in New Issue
Block a user