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:
@@ -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"))
|
||||
|
Reference in New Issue
Block a user