Update plugin.php
This commit is contained in:
parent
6e66fc28a4
commit
613d6103a0
|
@ -49,9 +49,9 @@ class pluginDisqus extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !$Url->notFound() &&
|
if ( !$Url->notFound() &&
|
||||||
(
|
( $Url->whereAmI()=='page' &&
|
||||||
($this->getDbField('enablePosts') && $Page->status()=='published') ||
|
(($this->getDbField('enablePosts') && $Page->status()=='published') ||
|
||||||
($this->getDbField('enablePages') && $Page->status()=='static')
|
($this->getDbField('enablePages') && $Page->status()=='static'))
|
||||||
) &&
|
) &&
|
||||||
$page->allowComments() ) {
|
$page->allowComments() ) {
|
||||||
$html = '<div id="disqus_thread"></div>';
|
$html = '<div id="disqus_thread"></div>';
|
||||||
|
|
Loading…
Reference in New Issue