Move OC\Core and OC\Settings to composer autoloader

remotes/origin/fetchallappconfig
Lukas Reschke 10 years ago
parent 90335ee2a1
commit 433c0160b6
  1. 2
      composer.json
  2. 0
      core/Application.php
  3. 2
      lib/composer/composer/LICENSE
  4. 2
      lib/composer/composer/autoload_psr4.php
  5. 0
      settings/Application.php

@ -5,6 +5,8 @@
"autoload" : {
"psr-4": {
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OC\\Settings\\": "settings/",
"OCP\\": "lib/public"
}
},

@ -1,5 +1,5 @@
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
of this software and associated documentation files (the "Software"), to deal

@ -6,6 +6,8 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname(dirname($vendorDir));
return array(
'OC\\Settings\\' => array($baseDir . '/settings'),
'OC\\Core\\' => array($baseDir . '/core'),
'OC\\' => array($baseDir . '/lib/private'),
'OCP\\' => array($baseDir . '/lib/public'),
);

Loading…
Cancel
Save