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:
@@ -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.
|
||||
{
|
||||
|
@@ -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();
|
||||
|
@@ -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');
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user