Plugins updated

This commit is contained in:
dignajar 2016-01-22 16:34:23 -03:00
parent 925f6e4f92
commit 45dd310259
1 changed files with 2 additions and 3 deletions

View File

@ -31,10 +31,9 @@ class pluginDisqus extends Plugin {
} }
elseif( !$this->getDbField('enableDefaultHomePage') && ($Url->whereAmI()=='page') ) elseif( !$this->getDbField('enableDefaultHomePage') && ($Url->whereAmI()=='page') )
{ {
global $Page;
global $Site; global $Site;
var_dump($Page);
if( $Site->homePage()==$Page->key() ) { if( !empty($Site->homePage()) ) {
$this->disable = true; $this->disable = true;
} }
} }