devilbox/.devilbox/www/htdocs/vendor/phpmyadmin/libraries/autoloader.php
2016-10-22 16:57:10 +02:00

20 lines
450 B
PHP

<?php
/**
* Load class autoloader
*
* @package PhpMyAdmin
*/
require_once './libraries/Psr4Autoloader.php';
// instantiate the loader
$loader = \PMA\Psr4Autoloader::getInstance();
// register the autoloader
$loader->register();
// register the base directories for the namespace prefix
$loader->addNamespace('PMA', '.');
$loader->addNamespace('SqlParser', './libraries/sql-parser/src');
$loader->addNamespace('phpseclib', PHPSECLIB_INC_DIR);