mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 01:00:20 +02:00
Deprecated function include_lan() cleanup. Replaced with e107::lan();
This commit is contained in:
@@ -17,7 +17,9 @@ if (!getperms('P') || !e107::isInstalled('linkwords'))
|
||||
exit ;
|
||||
}
|
||||
require_once(e_ADMIN.'auth.php');
|
||||
include_lan(e_PLUGIN.'linkwords/languages/'.e_LANGUAGE.'_admin_linkwords.php');
|
||||
|
||||
e107::lan('linkwords', e_LANGUAGE."_admin_linkwords.php"); // e_PLUGIN.'linkwords/languages/'.e_LANGUAGE.'_admin_linkwords.php'
|
||||
|
||||
define('LW_CACHE_TAG', 'nomd5_linkwords');
|
||||
|
||||
|
||||
|
@@ -25,7 +25,8 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE."_admin_linkwords.php");
|
||||
|
||||
e107::lan('linkwords',e_LANGUAGE."_admin_linkwords.php");
|
||||
|
||||
if (e_QUERY) list($action,$junk) = explode('.',e_QUERY.'.'); else $action = 'words';
|
||||
|
||||
|
@@ -32,7 +32,9 @@ class e_linkwords
|
||||
global $pref, $admin_log;
|
||||
/* constructor */
|
||||
// Do an auto-update on the variable used to hook parsers - so we should only be called once
|
||||
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php");
|
||||
|
||||
e107::lan('linkwords',e_LANGUAGE); // e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php"
|
||||
|
||||
$hooks = explode(",",$pref['tohtml_hook']);
|
||||
if (($key=array_search('linkwords',$hooks)) !== FALSE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user