Michal Čihař
7feb606d7f
Avoid confusing warning when mysql extension is missing
...
As mysql extension is deprecated and removed from PHP 7, it makes no
sense to recommend it.
Fixes #12231
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 10:53:13 +02:00
Michal Čihař
e95bb0e361
Remove own code for generating numeric PHP version
...
Since PHP 5.2.7 there is PHP_VERSION_ID for it.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:53:58 +01:00
Hugues Peccatte
0929268592
Fix missing namespace.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 17:02:08 +01:00
Hugues Peccatte
7b8c4a4b67
Export DBIMysqli code into lib file.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-13 14:47:34 +02:00
Hugues Peccatte
17274d9a54
Move PMA/DI namespace to PMA\libraries\di.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-02 22:02:46 +02:00
Hugues Peccatte
1b4b456626
Set namespace on DBI's classes (except DBIDummy).
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:18:47 +02:00
Hugues Peccatte
7f8f34e89d
Remove classes require_once.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02: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
Jason
452ccc58d3
Introduce dependency injection container
...
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-06-30 10:08:03 +08:00
Marc Delisle
f9873b553a
Starting from PHP 7, the mysql extension is no longer present
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-04-11 08:38:11 -04:00
Hugues Peccatte
5985894160
Fix typos.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Madhura Jayaratne
7cf1a744a7
Fix coding style
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2013-12-18 11:22:58 +05:30
Marc Delisle
2a8962aa95
Signed-off-by: Marc Delisle <marc@infomarc.info>
...
Added warning about the mysql extension being deprecated
and removed the extension directive
2013-12-14 14:26:12 -05:00
Michal Čihař
072ed2aed4
Merge remote-tracking branch 'origin/QA_4_0'
...
Conflicts:
libraries/database_interface.lib.php
2013-09-12 10:02:38 +02:00
Michal Čihař
f62b884294
Remove trailing dots from suggested database name
...
This only makes it harder to type it new name (RFE #1429 ).
2013-06-11 11:22:32 +02:00
Madhura Jayaratne
0dab7f2463
Separate DatabaseInterface class and creation of an instance of it
2013-05-26 21:28:42 +05:30