mirror of
https://github.com/e107inc/e107.git
synced 2025-06-05 18:35:01 +02:00
Update pm_class.php
This commit is contained in:
parent
46dd807788
commit
d1c96113e7
@ -378,11 +378,11 @@ class private_message
|
||||
{
|
||||
// require_once(e_HANDLER.'mail.php');
|
||||
|
||||
$tpl_file = THEME.'pm_template.php';
|
||||
$tpl_file = THEME.'templates/pm/pm_template.php';
|
||||
|
||||
$PM_NOTIFY = null; // loaded in template below.
|
||||
|
||||
include(is_readable($tpl_file) ? $tpl_file : e_PLUGIN.'pm/pm_template.php');
|
||||
include(is_readable($tpl_file) ? $tpl_file : e_PLUGIN.'pm/templates/pm_template.php');
|
||||
|
||||
$template = $PM_NOTIFY;
|
||||
|
||||
@ -921,4 +921,4 @@ class private_message
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user