Plugins updated
This commit is contained in:
parent
925f6e4f92
commit
45dd310259
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue