Update to use motranslator 3.0
It uses PSR-4 prefix for PhpMyAdmin namespace. See https://github.com/phpmyadmin/sql-parser/issues/126 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
6197170df3
commit
15909c30bc
@ -33,7 +33,7 @@
|
||||
"ext-pcre": "*",
|
||||
"ext-json": "*",
|
||||
"phpmyadmin/sql-parser": "^3.4",
|
||||
"phpmyadmin/motranslator": "^2.0",
|
||||
"phpmyadmin/motranslator": "~3.0",
|
||||
"phpmyadmin/shapefile": "^1.0",
|
||||
"tecnickcom/tcpdf": "^6.2",
|
||||
"phpseclib/phpseclib": "^2.0",
|
||||
|
||||
@ -80,7 +80,7 @@ require_once './vendor/autoload.php';
|
||||
/**
|
||||
* Load gettext functions.
|
||||
*/
|
||||
MoTranslator\Loader::loadFunctions();
|
||||
PhpMyAdmin\MoTranslator\Loader::loadFunctions();
|
||||
|
||||
/**
|
||||
* initialize the error handler
|
||||
|
||||
@ -61,7 +61,7 @@ if (PHP_SAPI == 'cli') {
|
||||
require_once 'libraries/vendor_config.php';
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'libraries/core.lib.php';
|
||||
MoTranslator\Loader::loadFunctions();
|
||||
PhpMyAdmin\MoTranslator\Loader::loadFunctions();
|
||||
$CFG = new PMA\libraries\Config();
|
||||
// Initialize PMA_VERSION variable
|
||||
define('PMA_VERSION', $CFG->get('PMA_VERSION'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user