public function __construct($current_version = false, $plugin_path = false, $schema_path = false, $mu_single_table = false)
{
if (false !== $schema_path) {
$this->schema_path = $schema_path;
} else {
$this->schema_path = realpath(dirname(__FILE__) . $this->schema_path);
}
if (false !== $plugin_path) {
$this->plugin_path = $plugin_path;
} else {
$this->plugin_path = realpath(dirname(__FILE__) . $this->plugin_path);
}
$this->mu_single_table = $mu_single_table;
$this->rt_plugin_info = new rt_plugin_info($this->plugin_path);
if (false === $current_version) {
$current_version = $this->rt_plugin_info->version;
}
$this->db_version = $current_version;
$this->db_version_option_name = $this->get_db_version_option_name();
$this->install_db_version = $this->get_install_db_version();
}