Closed (fixed)
Project:
Kaltura
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2008 at 20:39 UTC
Updated:
28 Jan 2009 at 14:00 UTC
It's not necessary to define 'file path' when the file to load is inside the module directory; it's enough to prefix with 'includes/' all the strings given for the 'file' array item.
Comments
Comment #1
avpadernoThis is a menu callback defined by another module, which works. As you see, it doesn't use
'file path', and it doesn't calldrupal_get_path().The file is inside the module directory, and the file name includes the relative path from that directory.
'file path'is thought to be used when the file is taken from a directory that is not inside the directory of the module defining the menu callback.Comment #2
Zohar.Babin commentedfixed in 6.x-1.4