diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-21 17:02:11 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-21 20:48:47 +0100 |
commit | 3d67cd51c2f42029435343004b3ebe608bcba375 (patch) | |
tree | d1b6a031f577da075be25857c9b520e4078e62ea /apps/files_encryption/appinfo | |
parent | abc749feeb14c49d483135f879195b70ee89654f (diff) | |
download | nextcloud-server-3d67cd51c2f42029435343004b3ebe608bcba375.tar.gz nextcloud-server-3d67cd51c2f42029435343004b3ebe608bcba375.zip |
encryption proxy wip
Diffstat (limited to 'apps/files_encryption/appinfo')
-rw-r--r-- | apps/files_encryption/appinfo/app.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php new file mode 100644 index 00000000000..82d2544dd14 --- /dev/null +++ b/apps/files_encryption/appinfo/app.php @@ -0,0 +1,11 @@ +<?php + +OC::$CLASSPATH['OC_Crypt'] = 'apps/files_encryption/lib/crypt.php'; +OC::$CLASSPATH['OC_CryptStream'] = 'apps/files_encryption/lib/cryptstream.php'; +OC::$CLASSPATH['OC_FileProxy_Encryption'] = 'apps/files_encryption/lib/proxy.php'; + +OC_FileProxy::register(new OC_FileProxy_Encryption()); + +OC_Hook::connect('OC_User','post_login','OC_Crypt','loginListener'); + +stream_wrapper_register('crypt','OC_CryptStream'); |