title: Phpfreechat: how to call it from another directory
body: <p>I am using this chat: <a href="http://www.phpfreechat.net/" rel="nofollow">http://www.phpfreechat.net/</a></p>
  
  <p>I place it inside a folder called <code>chat</code> and when it's run, everything looks good. But if I try to include it in another file one folder up, it will say something like:</p>
  
  <pre><code>Strict Standards: Non-static method pfcGlobalConfig::Instance() should not be called statically, assuming $this from incompatible context in /home/brianl/repo/video_server/sfproject/apps/frontend/modules/job/templates/chat/src/phpfreechat.class.php on line 44 .....
  </code></pre>
  
  <p>The files are called correctly by using</p>
  
  <pre><code>require_once dirname(__FILE__).'/pfccommand.class.php';
  </code></pre>
  
  <p>and there is no path error.</p>
  
  <p>Any ideas?
  Thanks</p>