Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
forena
Commits
21a273eb
Commit
21a273eb
authored
Aug 27, 2013
by
metzlerd
Browse files
Added debug support for drupal plugin.
parent
6c83bb4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/FrxDrupal.inc
View file @
21a273eb
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment