Opened 15 years ago
Closed 15 years ago
#3439 closed enhancement (fixed)
require_once instead of require
| Reported by: | slaFFik | Owned by: | slaFFik |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Toolbar & Notifications | Version: | 1.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Is it possible to use require_once instead of require for including bp-...-notification.php files?
See patch attached.
I'm adding messages to db in foreach (in BP Default Data), so every time appropriate function "require"s that file - and this produces error, as you understand.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
How about loading the notifications file in BP_Messages_Component::includes()?