1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +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

@@ -26,7 +26,7 @@
if (!defined('e107_INIT')) { exit; }
include_lan(e_PLUGIN.'/pm/languages/English_mailer.php');
e107::includeLan(e_PLUGIN.'/pm/languages/English_mailer.php');
class pm_cron // include plugin-folder in the name.
{

View File

@@ -23,7 +23,7 @@ class pm_shortcodes extends e_shortcode
function __construct()
{
include_lan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
e107::includeLan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
require_once(e_PLUGIN."pm/pm_func.php");
$this->pm = new pmbox_manager();

View File

@@ -40,7 +40,7 @@ if(vartrue($_POST['keyword']))
e107::css('pm','pm.css');
require_once(e_PLUGIN.'pm/pm_class.php');
require_once(e_PLUGIN.'pm/pm_func.php');
include_lan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
e107::includeLan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
e107::getScParser();
// require_once(e_PLUGIN.'pm/shortcodes/batch/pm_shortcodes.php');

View File

@@ -28,7 +28,7 @@
//if (!defined('e107_INIT')) { exit; }
include_lan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
e107::includeLan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
include_once(e_PLUGIN.'pm/pm_func.php');
// register_shortcode('pm_handler_shortcodes', true);