Translated using Weblate (Portuguese)
[phpmyadmin.git] / db_routines.php
blobc460f7c264891a0a247af4e7c7ac33b1acf3f99e
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Routines management.
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\CheckUserPrivileges;
12 if (! defined('ROOT_PATH')) {
13 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
16 /**
17 * Include required files
19 require_once ROOT_PATH . 'libraries/common.inc.php';
21 $checkUserPrivileges = new CheckUserPrivileges($GLOBALS['dbi']);
22 $checkUserPrivileges->getPrivileges();
24 /**
25 * Do the magic
27 $_PMA_RTE = 'RTN';
28 require_once ROOT_PATH . 'libraries/rte/rte_main.inc.php';