Commit 21a273eb authored by metzlerd's avatar metzlerd
Browse files

Added debug support for drupal plugin.

parent 6c83bb4f
......@@ -54,6 +54,10 @@ class FrxDrupal extends FrxDataSource {
if ($this->database != 'default') {
db_set_active();
}
if ($this->debug) {
$d = ($xml) ? htmlspecialchars($xml->asXML()) : '';
$this->debug('SQL: ' . $sql, '<pre> SQL:' . $sql . "\n XML: " . $d . "\n</pre>");
}
return $xml;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment