mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Code cleanup: deprecated include_lan()
This commit is contained in:
@@ -17,7 +17,7 @@ if (!getperms("P") || !e107::isInstalled('poll'))
|
||||
}
|
||||
$e_sub_cat = 'poll';
|
||||
|
||||
include_lan(e_PLUGIN.'poll/languages/'.e_LANGUAGE.'_admin_poll.php');
|
||||
e107::includeLan(e_PLUGIN.'poll/languages/'.e_LANGUAGE.'_admin_poll.php');
|
||||
require_once(e_ADMIN."auth.php");
|
||||
require_once(e_PLUGIN."poll/poll_class.php");
|
||||
require_once(e_HANDLER."userclass_class.php");
|
||||
|
@@ -23,7 +23,7 @@ if(!defined("USER_WIDTH") && !deftrue('BOOTSTRAP'))
|
||||
define("USER_WIDTH","width:95%");
|
||||
}
|
||||
|
||||
include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
||||
e107::includeLan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
||||
|
||||
if(e_QUERY)
|
||||
{
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
include_lan(e_PLUGIN.'poll/languages/'.e_LANGUAGE.'.php');
|
||||
e107::includeLan(e_PLUGIN.'poll/languages/'.e_LANGUAGE.'.php');
|
||||
define('POLLCLASS', TRUE);
|
||||
define('POLL_MODE_COOKIE', 0);
|
||||
define('POLL_MODE_IP', 1);
|
||||
|
@@ -34,7 +34,7 @@ if(!isset($poll) || !is_object($poll))
|
||||
if(!defined("POLL_1"))
|
||||
{
|
||||
/* if menu is being called from comments, lan files have to be included manually ... */
|
||||
include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
||||
e107::includeLan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
||||
}
|
||||
|
||||
if (empty($poll_to_show))
|
||||
|
Reference in New Issue
Block a user