}
// get default database prefix
- if (!count($_POST)) {
+ if (!isset($_POST['dbPrefix'])) {
$this->dbPrefix = $this->exporter->getDefaultDatabasePrefix();
}
}
public function readData() {
parent::readData();
+ if (!isset($_POST['fileSystemPath'])) $this->fileSystemPath = (!empty($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] : WCF_DIR);
+
if (empty($_POST)) {
- $this->fileSystemPath = (!empty($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] : WCF_DIR);
-
if (!$this->exporterName) {
$sql = "SELECT COUNT(*) AS count
FROM wcf".WCF_N."_import_mapping";