@(include "{$HOOK_DIR}/fmhookmulti.inc"); } } // // write to the CSV database // if (!empty($CSVDIR) && isset($SPECIAL_VALUES["csvfile"]) && !empty($SPECIAL_VALUES["csvfile"])) { // // Hook system: before writing CSV file // if ($HOOK_DIR !== "") { if (!@(include "{$HOOK_DIR}/fmhookprecsv.inc.php")) { @(include "{$HOOK_DIR}/fmhookprecsv.inc"); } } WriteCSVFile($CSVDIR . "/" . basename($SPECIAL_VALUES["csvfile"]), $aAllRawValues); // // Hook system: after writing CSV file // if ($HOOK_DIR !== "") { if (!@(include "{$HOOK_DIR}/fmhookpostcsv.inc.php")) { @(include "{$HOOK_DIR}/fmhookpostcsv.inc"); } } $bDoneSomething = true; } // // write to the log file // if (!empty($LOGDIR) && isset($SPECIAL_VALUES["logfile"]) && !empty($SPECIAL_VALUES["logfile"])) { //
@(include Settings::get('HOOK_DIR') . "/fmhookmulti.inc"); } } // // write to the CSV database // if (!Settings::isEmpty('CSVDIR') && isset($SPECIAL_VALUES["csvfile"]) && !empty($SPECIAL_VALUES["csvfile"])) { // // Hook system: before writing CSV file // if (!Settings::isEmpty('HOOK_DIR')) { if (!@(include Settings::get('HOOK_DIR') . "/fmhookprecsv.inc.php")) { @(include Settings::get('HOOK_DIR') . "/fmhookprecsv.inc"); } } WriteCSVFile(Settings::get('CSVDIR') . "/" . basename($SPECIAL_VALUES["csvfile"]), $aAllRawValues); // // Hook system: after writing CSV file // if (!Settings::isEmpty('HOOK_DIR')) { if (!@(include Settings::get('HOOK_DIR') . "/fmhookpostcsv.inc.php")) { @(include Settings::get('HOOK_DIR') . "/fmhookpostcsv.inc"); } } $bDoneSomething = true; } // // write to the log file // if (!Settings::isEmpty('LOGDIR') && isset($SPECIAL_VALUES["logfile"]) && !empty($SPECIAL_VALUES["logfile"])) { //