Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-07-07 18:48:43 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-07-08 16:54:21 +0300
commitca910e8de827203542e78a721f02b6376fcf4381 (patch)
treef4d46bd03d9245e65e82ba5910b695a036af24c5 /tbl_create.php
parent6e71574e9c6d9a68d3ebab98dcca805b63040a0c (diff)
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>
Diffstat (limited to 'tbl_create.php')
-rw-r--r--tbl_create.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tbl_create.php b/tbl_create.php
index 7eb5c46f7a..1992060772 100644
--- a/tbl_create.php
+++ b/tbl_create.php
@@ -8,8 +8,8 @@
use PhpMyAdmin\Core;
use PhpMyAdmin\Response;
-use PMA\libraries\Transformations;
-use PMA\libraries\URL;
+use PhpMyAdmin\Transformations;
+use PhpMyAdmin\Url;
/**
* Get some core libraries
@@ -18,11 +18,11 @@ require_once 'libraries/common.inc.php';
require_once 'libraries/create_addfield.lib.php';
// Check parameters
-PMA\libraries\Util::checkParameters(array('db'));
+PhpMyAdmin\Util::checkParameters(array('db'));
/* Check if database name is empty */
if (strlen($db) === 0) {
- PMA\libraries\Util::mysqlDie(
+ PhpMyAdmin\Util::mysqlDie(
__('The database name is empty!'), '', false, 'index.php'
);
}
@@ -31,7 +31,7 @@ if (strlen($db) === 0) {
* Selects the database to work with
*/
if (!$GLOBALS['dbi']->selectDb($db)) {
- PMA\libraries\Util::mysqlDie(
+ PhpMyAdmin\Util::mysqlDie(
sprintf(__('\'%s\' database does not exist.'), htmlspecialchars($db)),
'',
false,
@@ -41,11 +41,11 @@ if (!$GLOBALS['dbi']->selectDb($db)) {
if ($GLOBALS['dbi']->getColumns($db, $table)) {
// table exists already
- PMA\libraries\Util::mysqlDie(
+ PhpMyAdmin\Util::mysqlDie(
sprintf(__('Table %s already exists!'), htmlspecialchars($table)),
'',
false,
- 'db_structure.php' . URL::getCommon(array('db' => $db))
+ 'db_structure.php' . Url::getCommon(array('db' => $db))
);
}