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,13 +27,13 @@
|
||||
*/
|
||||
|
||||
/** XMPPHP_Exception */
|
||||
require_once 'XMPPHP/Exception.php';
|
||||
require_once dirname(__FILE__) . '/Exception.php';
|
||||
|
||||
/** XMPPHP_XMLObj */
|
||||
require_once 'XMPPHP/XMLObj.php';
|
||||
require_once dirname(__FILE__) . '/XMLObj.php';
|
||||
|
||||
/** XMPPHP_Log */
|
||||
require_once 'XMPPHP/Log.php';
|
||||
require_once dirname(__FILE__) . '/Log.php';
|
||||
|
||||
/**
|
||||
* XMPPHP XML Stream
|
||||
|
Reference in New Issue
Block a user