Skip to:
Content

BuddyPress.org

Changeset 1416 for trunk/bp-messages.php


Ignore:
Timestamp:
04/27/2009 03:55:00 PM (15 years ago)
Author:
apeatling
Message:

Adding BP_PLUGIN_DIR to all require() calls to provide absolute paths. Fixes #965

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages.php

    r1366 r1416  
    474474               
    475475                // Send email notifications to the recipients
    476                 require_once( 'bp-messages/bp-messages-notifications.php' );
     476                require_once( BP_PLUGIN_DIR . '/bp-messages/bp-messages-notifications.php' );
    477477                messages_notification_new_message( array( 'item_id' => $pmessage->id, 'recipient_ids' => $pmessage->recipients, 'thread_id' => $pmessage->thread_id, 'component_name' => 'messages', 'component_action' => 'message_sent', 'is_private' => 1 ) );
    478478
Note: See TracChangeset for help on using the changeset viewer.