Plugins updated

This commit is contained in:
dignajar 2016-01-22 16:34:23 -03:00
parent 925f6e4f92
commit 45dd310259

View File

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