reverting "use XMPPHP/ folder instead of dirname(__FILE__) which is inefficient"

method whis relative path not work for lib - random current dir
dirname faster and not need change include_path

more info on
http://stackoverflow.com/questions/2220443/whats-better-of-requiredirname-file-myparent-php-than-just-require
This commit is contained in:
Ivan Borzenkov
2010-03-07 22:38:11 +03:00
parent 7f28fd2a49
commit 43b4bc94ab
8 changed files with 11 additions and 11 deletions

View File

@@ -27,7 +27,7 @@
*/
/** XMPPHP_XMLStream */
require_once 'XMPPHP/XMPP.php';
require_once dirname(__FILE__) . '/XMPP.php';
/**
* XMPPHP Main Class