1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 19:14:09 +02:00

Fixes #376 - Poll cookie was not set

This commit is contained in:
Moc
2013-07-15 13:31:49 +02:00
parent 8f03110a16
commit a669804a89
2 changed files with 11 additions and 16 deletions

View File

@@ -2,16 +2,10 @@
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_menu.php,v $
* $Revision$
* $Date$
* $Author$
*/
if (!defined('e107_INIT')) { exit; }
@@ -22,9 +16,10 @@ if(defined("POLLRENDERED"))
{
// return;
}
if (!plugInstalled('poll'))
if (!e107::isInstalled('poll'))
{
return '';
header("location:".e_BASE."index.php");
}
if(!defined("POLLCLASS"))