diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-25 16:05:13 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-25 19:39:34 +0300 |
commit | 1b4a6847e7a246890197e685fb255305ddaa5e5d (patch) | |
tree | 0dbff2efc3f481f4aa7eb2207ba47b59a3f2725b /lint.php | |
parent | 4a0ab124f72918c7205833ecaf129ed82782d173 (diff) |
Updated tests.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'lint.php')
-rw-r--r-- | lint.php | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -6,9 +6,16 @@ * @package PhpMyAdmin */ -if (!defined('PHPMYADMIN')) { - define('PHPMYADMIN', true); -} +/** + * Loading common files. Used to check for authorization, localization and to + * load the parsing library. + */ +require_once 'libraries/common.inc.php'; + +/** + * Loads the linter. + */ +require_once 'libraries/Linter.class.php'; /** * The SQL query to be analyzed. @@ -23,17 +30,6 @@ if (!defined('PHPMYADMIN')) { */ $sql_query = $_REQUEST['sql_query']; -/** - * Loading common files. Used to check for authorization, localization and to - * load the parsing library. - */ -require_once 'libraries/common.inc.php'; - -/** - * Loads the linter. - */ -require_once 'libraries/Linter.class.php'; - // Disabling standard response. $response = PMA_Response::getInstance(); $response->disable(); |