auto-load OAuthRequest
darcs-hash:20080813195408-84dde-a1de441ce50759f50b2c88b45d626dc4e0892d31.gz
This commit is contained in:
parent
262e21c959
commit
5923f958c9
@ -116,7 +116,9 @@ require_once(INSTALLDIR.'/lib/theme.php');
|
||||
require_once(INSTALLDIR.'/lib/mail.php');
|
||||
|
||||
function __autoload($class) {
|
||||
if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) {
|
||||
if ($class == 'OAuthRequest') {
|
||||
require_once('OAuth.php');
|
||||
} else if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) {
|
||||
require_once(INSTALLDIR.'/classes/' . $class . '.php');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user