mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Add files via upload
This commit is contained in:
@@ -377,14 +377,16 @@ class private_message
|
||||
function pm_send_notify($uid, $pmInfo, $pmid, $attach_count = 0)
|
||||
{
|
||||
// require_once(e_HANDLER.'mail.php');
|
||||
|
||||
$tpl_file = THEME.'templates/pm/pm_template.php';
|
||||
/*
|
||||
$tpl_file = THEME.'pm_template.php';
|
||||
|
||||
$PM_NOTIFY = null; // loaded in template below.
|
||||
|
||||
include(is_readable($tpl_file) ? $tpl_file : e_PLUGIN.'pm/templates/pm_template.php');
|
||||
include(is_readable($tpl_file) ? $tpl_file : e_PLUGIN.'pm/pm_template.php');
|
||||
|
||||
$template = $PM_NOTIFY;
|
||||
*/
|
||||
$template = e107::getTemplate('pm', 'pm', 'notify');
|
||||
|
||||
if(empty($template)) // BC Fallback.
|
||||
{
|
||||
@@ -921,4 +923,4 @@ class private_message
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user