1
0
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:
Cameron
2017-01-23 09:41:23 -08:00
parent 55cb8d409e
commit 43d0211590
86 changed files with 105 additions and 105 deletions

View File

@@ -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");

View File

@@ -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)
{

View File

@@ -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);

View File

@@ -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))