read_context does not work from everywhere

olivier1010

Joined
Jul 18, 2009
Messages
38
Likes
0
Points
0
#1
I've found that read_context does not work from everywhere.


We need to be in the right directory to get it working.


So i've added this to line 19 in the code :

Code:
chdir(dirname(__FILE__));

It seems to do the trick.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,913
Messages
130,917
Members
17,589
Latest member
cristian.saiz
Top