Maurício Meneghini Fauth
d243f7ccd6
Enable strict mode in libraries files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 03:20:45 -03:00
Michal Čihař
60c1b32472
Remove usage of $GLOBALS['userlink']
...
The links are internal to DatabaseInterface and user link is default.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Michal Čihař
98964e2f59
Remove is_superuser superglobal
...
Issue #11731
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-10 12:28:00 +02:00
Maurício Meneghini Fauth
f7051b2e5c
Refactor server_common functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 00:28:06 -03:00
Maurício Meneghini Fauth
ca910e8de8
Move classes to PhpMyAdmin namespace
...
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00
Michal Čihař
e34ce85875
Avoid checking parameters which are set in same script
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 12:27:52 +02:00
Michal Čihař
608f80e227
Avoid passing empty parameter
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 12:26:55 +02:00
Durgesh
0b64827930
Refactored url parmeters generating, Issue #11990
...
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Hugues Peccatte
42c0ebac85
Merge branch 'master' into useNamespaces_master
2015-09-09 22:05:00 +02:00
Madhura Jayaratne
d16bc93ff1
Remove Drizzle support from functionalities in server level
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:33 +10:00
Hugues Peccatte
f0ba28fc1d
Set namespace on Advisor, Config, Console and Util classes.
...
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Dan Ungureanu
91b97fadc2
Remove unneeded closing tags.
...
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Ann + J.M
b1a7039ae3
Convert PMA_URL_getCommon calls to new style
...
Rewritten tests need validation
Signed-Off-By: Ann + J.M. <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:29 +02:00
Chirayu Chiripal
04a3a7073b
RFE-1488/781: User privilege tab not shown in all relevant cases
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-18 00:13:08 +05:30
Chirayu Chiripal
6dc1178eae
bug-4479 Missing permission in export dir not detected
...
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-29 20:22:49 +05:30
Michal Čihař
0a3d1d5be8
Better names for URL generating functions
2013-08-07 10:58:17 +02:00
xmujay
bfb6dec7e6
fix the issues:
...
1. replace tab with space in server_bin_log.lib.php
2. move $bin_log to server_binlog.php
3. add server common function file server_common.lib.php
2013-06-08 00:02:45 +08:00
xmujay
fc3e0d961e
move PMA_getSubPageHeader to server_common.inc.php
2013-06-07 23:32:17 +08:00
Madhura Jayaratne
3dd99512f0
These constants are better as a part of DatabaseInterface class
2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Kasun Chathuranga
42256b2d0c
PMA_DBI_select_db --> PMA_DBI_selectDb
2013-05-04 08:26:27 +05:30
Kasun Chathuranga
6b1f6ae046
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
libraries/database_interface.lib.php
libraries/db_table_exists.lib.php
libraries/relation.lib.php
libraries/rte/rte_triggers.lib.php
libraries/schema/Dia_Relation_Schema.class.php
libraries/schema/Visio_Relation_Schema.class.php
tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
fbe4438628
PMA_DBI_fetch_result --> PMA_DBI_fetchResult
2013-05-01 00:05:16 +05:30
Michal Čihař
cf3b086e7e
Various coding style improvements
2013-04-16 13:29:03 +02:00
Rouslan Placella
9e3a9ee52f
Dropped main.php
2012-10-30 20:10:20 +00:00
Chanaka Indrajith
6971295e96
Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util::
2012-09-16 14:41:47 +05:30
Chanaka Indrajith
39d37fafcc
Resolved conflicts
2012-06-27 21:53:59 +05:30
Madhura Jayaratne
1723f46b6f
Wrap a long line
2012-06-23 22:46:59 +05:30
Chanaka Indrajith
766466135e
Implement class behavior of common.lib.php file
2012-06-22 23:38:33 +05:30
Rouslan Placella
ae6e50a8a8
Drop display() from Header and Footer classes. The Response class will do all the rendering.
2012-06-11 14:06:04 +01:00
Rouslan Placella
a054562100
PMA_Footer and PMA_Header no longer need to be singletons
2012-06-11 14:06:03 +01:00
Rouslan Placella
4a740376c8
Dropped header.inc.php in favor of the PMA_Header class
2012-06-11 14:06:02 +01:00
Rouslan Placella
1807efb18f
Removed pointless includes: If common.inc.php was not already included we would fail the !defined('PHPMYADMIN') check at the top of each file.
2012-05-08 19:53:52 +01:00
Rouslan Placella
7b85c709a8
Dropped server_links.inc.php
2012-05-05 16:44:27 +01:00
Madhura Jayaratne
ac83360796
Coding style improvements
2012-03-21 05:45:58 +05:30
Michal Čihař
e56949f160
Use package name PhpMyAdmin
...
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Piotr Przybylski
3bde595666
Merge remote-tracking branch 'origin/master' into drizzle
2011-06-27 23:55:32 +02:00
Michal Čihař
e57f27e50b
Remove @uses tags from docblocks
2011-06-27 11:20:20 +02:00
Piotr Przybylski
d5f3636a5d
server_common.php for Drizzle: don't select 'mysql' table, skip listing of master logs
2011-05-25 19:12:27 +02:00
Michal Čihař
d17fba309c
Fix permissions.
...
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
e646a2760c
Fixed conflict due to upstream merge
2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650
Drop @version tag from docblocks.
2010-07-20 13:59:17 +02:00
ninadsp
bed1948d04
testing git setup - no major change made in code yet
...
only added a few comments
2010-05-23 01:22:01 +05:30
Michal Čihař
56941e509c
Adding @package, second part.
2008-11-24 11:05:40 +00:00
Marc Delisle
afbb2a9dc2
protection against XSS when register_globals is on and .htaccess has no effect
2008-06-21 15:01:27 +00:00
Sebastian Mendel
306b1b65c6
do NEVER unset $table or $db;
2007-03-30 10:23:01 +00:00
Sebastian Mendel
008734f8b0
do NEVER unset $table or $db;
...
no need to test for isset() on $db and $table;
always test with strlen() for valid $table or $db;
2007-03-30 09:12:05 +00:00
Sebastian Mendel
d0facc3d4f
splitted common.lib.php into common.inc.php, core.lib.php and common.lib.php
2007-03-20 14:16:18 +00:00
Marc Delisle
b800466c91
avoid vim error on loading
2007-03-19 16:55:30 +00:00
Sebastian Mendel
a56222d99a
improved displaying of binary logs:
...
- limit displayed rows to $cfg[MaxRows]
- show single and summary log file size (MySQL >= 5.0.7)
cleaned up the code
added some more sanity checks
source documentation
2007-03-13 09:55:19 +00:00