1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

move listener to another folder?

Discussion in 'XenForo Development Discussions' started by svetoslav80, Sep 9, 2011.

  1. svetoslav80

    svetoslav80 Active Member

    I want to move the file which contains my listener class to another folder but when I move it it doesn't work anymore. What should I do ?
     
  2. James

    James Well-Known Member

    Update the path to the listener in the admin cp.
     
  3. svetoslav80

    svetoslav80 Active Member

    Where is that, I only see that it requires class name and method, and no file name ?
     
  4. James

    James Well-Known Member

    Class name is the file path, replacing / with _.
     
    svetoslav80 likes this.
  5. svetoslav80

    svetoslav80 Active Member

    Oh, I didn't realize that, it works now, thanks.
     

Share This Page