forked from phpmyadmin/phpmyadmin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit removes reserved word warning from the Browse pages and the warning on structure page can be switched on/off using the config variable $cfg['ReservedWordWarning']
- Loading branch information
Showing
3 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
|
@@ -69,6 +69,13 @@ | ||
*/ | */ | ||
$cfg['ServerLibraryDifference_DisableWarning'] = false; | $cfg['ServerLibraryDifference_DisableWarning'] = false; | ||
|
|
||
/** | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
|||
* Show warning about MySQL reserved words in column names | |||
* | |||
* @global boolean $cfg['ReservedWordWarning'] | |||
*/ | |||
This comment has been minimized.
Sorry, something went wrong.
lem9
|
|||
$cfg['ReservedWordWarning'] = false; | |||
|
|||
/** | /** | ||
* Show warning about incomplete translations on certain threshold. | * Show warning about incomplete translations on certain threshold. | ||
* | * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When adding a new directive, you should document it. This is done in doc/config.rst and I suggest adding a short paragraph in the Generic settings section.
It would be interesting also to offer the user a chance to change the directive, via the user prefs module (the "More settings" link on home page). Can you take care of these two issues?