summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 74c992f1c..2ef26cfc6 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -169,5 +169,7 @@ function __autoload($class)
require_once('OAuth.php');
} else if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) {
require_once(INSTALLDIR.'/classes/' . $class . '.php');
+ } else if (file_exists(INSTALLDIR.'/lib/' . strtolower($class) . '.php')) {
+ require_once(INSTALLDIR.'/lib/' . strtolower($class) . '.php');
}
}