mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Import plugin cleanup
This commit is contained in:
@@ -176,7 +176,7 @@ class import_main_ui extends e_admin_ui
|
|||||||
function importPage()
|
function importPage()
|
||||||
{
|
{
|
||||||
|
|
||||||
print_a($_POST);
|
// print_a($_POST);
|
||||||
|
|
||||||
|
|
||||||
$this->deleteExisting = varset($_POST['import_delete_existing_data'],0);
|
$this->deleteExisting = varset($_POST['import_delete_existing_data'],0);
|
||||||
|
@@ -33,7 +33,7 @@ class base_import_class
|
|||||||
{
|
{
|
||||||
if ($this->ourDB == NULL)
|
if ($this->ourDB == NULL)
|
||||||
{
|
{
|
||||||
$this->ourDB = new db;
|
$this->ourDB = e107::getDb('ourDB');
|
||||||
$result = $this->ourDB->db_Connect($server, $user, $password, $database);
|
$result = $this->ourDB->db_Connect($server, $user, $password, $database);
|
||||||
$this->DBPrefix = $prefix;
|
$this->DBPrefix = $prefix;
|
||||||
if ($result)
|
if ($result)
|
||||||
|
Reference in New Issue
Block a user