Download & Extend

require_once path does not work under Windows

Project:XMPP API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

You should replace the line

require_once dirname(__FILE__).'/lib/server.inc';

with

require_once drupal_get_path('module', 'xmpp') .'/lib/server.inc';

It seems that it is how it is done in Drupal (see e.g. token.module).

Comments

#1

Status:reviewed & tested by the community» active

Patch is missing.

#2

Status:active» needs review

Here you go....

AttachmentSize
xmpp.module.patch 991 bytes

#3

Status:needs review» closed (fixed)

This project is dead.

I want this out of my list of issues.