read_context does not work from everywhere

Discussion in 'IP Phones' started by olivier1010, Nov 30, 2009.

  1. olivier1010

    Joined:
    Jul 18, 2009
    Messages:
    38
    Likes Received:
    0
    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.
     

Share This Page