Skip to content
Snippets Groups Projects
Commit 433c0160 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Move OC\Core and OC\Settings to composer autoloader

parent 90335ee2
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
"autoload" : { "autoload" : {
"psr-4": { "psr-4": {
"OC\\": "lib/private", "OC\\": "lib/private",
"OC\\Core\\": "core/",
"OC\\Settings\\": "settings/",
"OCP\\": "lib/public" "OCP\\": "lib/public"
} }
}, },
......
File moved
Copyright (c) 2015 Nils Adermann, Jordi Boggiano Copyright (c) 2016 Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
......
...@@ -6,6 +6,8 @@ $vendorDir = dirname(dirname(__FILE__)); ...@@ -6,6 +6,8 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname(dirname($vendorDir)); $baseDir = dirname(dirname($vendorDir));
return array( return array(
'OC\\Settings\\' => array($baseDir . '/settings'),
'OC\\Core\\' => array($baseDir . '/core'),
'OC\\' => array($baseDir . '/lib/private'), 'OC\\' => array($baseDir . '/lib/private'),
'OCP\\' => array($baseDir . '/lib/public'), 'OCP\\' => array($baseDir . '/lib/public'),
); );
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment