2011-06-12 00:14:24 +04:00
|
|
|
<?php
|
|
|
|
|
2012-07-11 02:56:22 +04:00
|
|
|
OC::$CLASSPATH['OC_Share_Backend_File'] = "apps/files_sharing/lib/share/file.php";
|
|
|
|
OC::$CLASSPATH['OC_Share_Backend_Folder'] = 'apps/files_sharing/lib/share/folder.php';
|
2012-08-22 19:45:36 +04:00
|
|
|
OC::$CLASSPATH['OC_Filestorage_Shared'] = "apps/files_sharing/lib/sharedstorage.php";
|
2012-06-19 19:38:04 +04:00
|
|
|
OCP\Util::connectHook('OC_Filesystem', 'setup', 'OC_Filestorage_Shared', 'setup');
|
2012-07-01 01:33:30 +04:00
|
|
|
OCP\Share::registerBackend('file', 'OC_Share_Backend_File');
|
2012-07-11 02:56:22 +04:00
|
|
|
OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file');
|
2012-10-28 15:06:47 +04:00
|
|
|
OCP\Util::addScript('files_sharing', 'share');
|