for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @name OpenImporter
* @copyright OpenImporter contributors
* @license BSD https://opensource.org/licenses/BSD-3-Clause
*
* @version 1.0
*/
* Class mybb16
* Settings for the MyBB 1.6 system.
class mybb16 extends Importers\AbstractSourceImporter
{
protected $setting_file = '/inc/config.php';
public function getName()
return 'MyBB 1.6';
}
public function getVersion()
return 'Wedge 0.1';
public function getPrefix()
// @todo Convert the use of globals to a scan of the file or something similar.
global $config;
return '`' . $this->getDbName() . '`.' . $config['database']['table_prefix'];
public function getDbName()
return $config['database']['database'];
public function getTableTest()
return 'users';