1
0
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:
rica-carv
2017-04-09 16:37:33 +01:00
committed by GitHub
parent ba122e5883
commit 4490ea48bb
3 changed files with 64 additions and 47 deletions

View File

@@ -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
}
}
}