Merge pull request #5039 from owncloud/lib-private-master-2

Public API OC6 - introduce lib/private
remotes/origin/stable6
Morris Jobke 13 years ago
commit 5ade595911
  1. 6
      lib/autoloader.php
  2. 2
      lib/base.php
  3. 0
      lib/private/allconfig.php
  4. 0
      lib/private/api.php
  5. 0
      lib/private/app.php
  6. 0
      lib/private/appconfig.php
  7. 0
      lib/private/appframework/app.php
  8. 0
      lib/private/appframework/controller/controller.php
  9. 0
      lib/private/appframework/core/api.php
  10. 0
      lib/private/appframework/dependencyinjection/dicontainer.php
  11. 0
      lib/private/appframework/http/dispatcher.php
  12. 0
      lib/private/appframework/http/downloadresponse.php
  13. 0
      lib/private/appframework/http/http.php
  14. 0
      lib/private/appframework/http/redirectresponse.php
  15. 0
      lib/private/appframework/http/request.php
  16. 0
      lib/private/appframework/middleware/middleware.php
  17. 0
      lib/private/appframework/middleware/middlewaredispatcher.php
  18. 0
      lib/private/appframework/middleware/security/securityexception.php
  19. 0
      lib/private/appframework/middleware/security/securitymiddleware.php
  20. 0
      lib/private/appframework/routing/routeactionhandler.php
  21. 0
      lib/private/appframework/routing/routeconfig.php
  22. 0
      lib/private/appframework/utility/methodannotationreader.php
  23. 2
      lib/private/appframework/utility/simplecontainer.php
  24. 0
      lib/private/appframework/utility/timefactory.php
  25. 0
      lib/private/archive.php
  26. 0
      lib/private/archive/tar.php
  27. 0
      lib/private/archive/zip.php
  28. 0
      lib/private/arrayparser.php
  29. 0
      lib/private/avatar.php
  30. 0
      lib/private/backgroundjob.php
  31. 0
      lib/private/backgroundjob/job.php
  32. 0
      lib/private/backgroundjob/joblist.php
  33. 0
      lib/private/backgroundjob/legacy/queuedjob.php
  34. 0
      lib/private/backgroundjob/legacy/regularjob.php
  35. 0
      lib/private/backgroundjob/queuedjob.php
  36. 0
      lib/private/backgroundjob/timedjob.php
  37. 0
      lib/private/cache.php
  38. 0
      lib/private/cache/broker.php
  39. 0
      lib/private/cache/file.php
  40. 0
      lib/private/cache/fileglobal.php
  41. 0
      lib/private/cache/fileglobalgc.php
  42. 0
      lib/private/cache/usercache.php
  43. 0
      lib/private/config.php
  44. 0
      lib/private/connector/sabre/ServiceUnavailable.php
  45. 0
      lib/private/connector/sabre/aborteduploaddetectionplugin.php
  46. 0
      lib/private/connector/sabre/auth.php
  47. 0
      lib/private/connector/sabre/directory.php
  48. 0
      lib/private/connector/sabre/file.php
  49. 0
      lib/private/connector/sabre/locks.php
  50. 0
      lib/private/connector/sabre/maintenanceplugin.php
  51. 0
      lib/private/connector/sabre/node.php
  52. 0
      lib/private/connector/sabre/objecttree.php
  53. 0
      lib/private/connector/sabre/principal.php
  54. 0
      lib/private/connector/sabre/quotaplugin.php
  55. 0
      lib/private/connector/sabre/request.php
  56. 0
      lib/private/contactsmanager.php
  57. 0
      lib/private/db.php
  58. 0
      lib/private/db/adapter.php
  59. 0
      lib/private/db/adapteroci8.php
  60. 0
      lib/private/db/adapterpgsql.php
  61. 0
      lib/private/db/adaptersqlite.php
  62. 0
      lib/private/db/adaptersqlsrv.php
  63. 0
      lib/private/db/connection.php
  64. 0
      lib/private/db/mdb2schemamanager.php
  65. 0
      lib/private/db/mdb2schemareader.php
  66. 0
      lib/private/db/mdb2schemawriter.php
  67. 0
      lib/private/db/oracleconnection.php
  68. 0
      lib/private/db/statementwrapper.php
  69. 0
      lib/private/defaults.php
  70. 0
      lib/private/eventsource.php
  71. 0
      lib/private/filechunking.php
  72. 0
      lib/private/fileproxy.php
  73. 0
      lib/private/fileproxy/fileoperations.php
  74. 0
      lib/private/files.php
  75. 0
      lib/private/files/cache/backgroundwatcher.php
  76. 0
      lib/private/files/cache/cache.php
  77. 0
      lib/private/files/cache/legacy.php
  78. 0
      lib/private/files/cache/permissions.php
  79. 0
      lib/private/files/cache/scanner.php
  80. 0
      lib/private/files/cache/storage.php
  81. 0
      lib/private/files/cache/updater.php
  82. 0
      lib/private/files/cache/upgrade.php
  83. 0
      lib/private/files/cache/watcher.php
  84. 0
      lib/private/files/filesystem.php
  85. 0
      lib/private/files/mapper.php
  86. 0
      lib/private/files/mount/manager.php
  87. 0
      lib/private/files/mount/mount.php
  88. 0
      lib/private/files/node/file.php
  89. 0
      lib/private/files/node/folder.php
  90. 0
      lib/private/files/node/node.php
  91. 0
      lib/private/files/node/nonexistingfile.php
  92. 0
      lib/private/files/node/nonexistingfolder.php
  93. 0
      lib/private/files/node/root.php
  94. 0
      lib/private/files/storage/common.php
  95. 0
      lib/private/files/storage/commontest.php
  96. 0
      lib/private/files/storage/loader.php
  97. 0
      lib/private/files/storage/local.php
  98. 0
      lib/private/files/storage/mappedlocal.php
  99. 0
      lib/private/files/storage/storage.php
  100. 0
      lib/private/files/storage/temporary.php
  101. Some files were not shown because too many files have changed in this diff Show More

@ -73,10 +73,10 @@ class Autoloader {
}
} elseif (strpos($class, 'OC_') === 0) {
// first check for legacy classes if underscores are used
$paths[] = 'legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
$paths[] = strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
$paths[] = 'private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
$paths[] = 'private/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OC\\') === 0) {
$paths[] = strtolower(str_replace('\\', '/', substr($class, 3)) . '.php');
$paths[] = 'private/' . strtolower(str_replace('\\', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OCP\\') === 0) {
$paths[] = 'public/' . strtolower(str_replace('\\', '/', substr($class, 4)) . '.php');
} elseif (strpos($class, 'OCA\\') === 0) {

@ -164,7 +164,7 @@ class OC {
// set the right include path
set_include_path(
OC::$SERVERROOT . '/lib' . PATH_SEPARATOR .
OC::$SERVERROOT . '/lib/private' . PATH_SEPARATOR .
OC::$SERVERROOT . '/config' . PATH_SEPARATOR .
OC::$THIRDPARTYROOT . '/3rdparty' . PATH_SEPARATOR .
implode($paths, PATH_SEPARATOR) . PATH_SEPARATOR .

@ -3,7 +3,7 @@
namespace OC\AppFramework\Utility;
// register 3rdparty autoloaders
require_once __DIR__ . '/../../../3rdparty/Pimple/Pimple.php';
require_once __DIR__ . '/../../../../3rdparty/Pimple/Pimple.php';
/**
* Class SimpleContainer

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save