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:
@@ -27,8 +27,8 @@
|
||||
*/
|
||||
|
||||
/** XMPPHP_XMLStream */
|
||||
require_once 'XMPPHP/XMLStream.php';
|
||||
require_once 'XMPPHP/Roster.php';
|
||||
require_once dirname(__FILE__) . '/XMLStream.php';
|
||||
require_once dirname(__FILE__) . '/Roster.php';
|
||||
|
||||
/**
|
||||
* XMPPHP Main Class
|
||||
|
Reference in New Issue
Block a user