diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 16:37:07 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 16:37:07 +0200 |
commit | 9e39118b526afe6464fc15ea3fa5ed6301f1f63d (patch) | |
tree | 6db10176608de0d7a5b79d6a3b05750fc01791a9 /apps/files/index.php | |
parent | 09cfebe93653f9168bdfb8e480a47c50a28868ea (diff) | |
download | nextcloud-server-9e39118b526afe6464fc15ea3fa5ed6301f1f63d.tar.gz nextcloud-server-9e39118b526afe6464fc15ea3fa5ed6301f1f63d.zip |
namespaces use upcasefirst parts
when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app
its magic!
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 9e54a706c01..32c3e09cd6d 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -74,14 +74,14 @@ if (\OC\Files\Cache\Upgrade::needUpgrade($user)) { //dont load anything if we ne $ajaxLoad = true; } else{ - $files = \OCA\files\lib\Helper::getFiles($dir); + $files = \OCA\Files\Lib\Helper::getFiles($dir); } $freeSpace = \OC\Files\Filesystem::free_space($dir); $needUpgrade = false; } // Make breadcrumb -$breadcrumb = \OCA\files\lib\Helper::makeBreadcrumb($dir); +$breadcrumb = \OCA\Files\Lib\Helper::makeBreadcrumb($dir); // make breadcrumb und filelist markup $list = new OCP\Template('files', 'part.list', ''); @@ -93,7 +93,7 @@ $breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', ''); $breadcrumbNav->assign('breadcrumb', $breadcrumb); $breadcrumbNav->assign('baseURL', OCP\Util::linkTo('files', 'index.php') . '?dir='); -$permissions = \OCA\files\lib\Helper::getDirPermissions($dir); +$permissions = \OCA\Files\Lib\Helper::getDirPermissions($dir); if ($needUpgrade) { OCP\Util::addscript('files', 'upgrade'); |