We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4238875e authored by mattl's avatar mattl

autoloading of Crypt_AES and Crypt_RSA is easier

parent 684b9419
......@@ -41,6 +41,7 @@ class LRDDPlugin extends Plugin
return parent::onAutoload($cls);
public function onStartDiscoveryMethodRegistration(Discovery $disco) {
......@@ -83,6 +83,20 @@ class OStatusPlugin extends Plugin
return true;
public function onAutoload($cls)
switch ($cls) {
case 'Crypt_AES':
case 'Crypt_RSA':
// Crypt_AES becomes Crypt/AES.php which is found in extlib/phpseclib/
// which has been added to our include_path before
require_once str_replace('_', '/', $cls) . '.php';
return false;
return parent::onAutoload($cls);
* Set up queue handlers for outgoing hub pushes
* @param QueueManager $qm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment