Parcourir la source

Move OC\Core and OC\Settings to composer autoloader

tags/v9.1.0beta1
Lukas Reschke il y a 8 ans
Parent
révision
433c0160b6

+ 2
- 0
composer.json Voir le fichier

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

core/application.php → core/Application.php Voir le fichier


+ 1
- 1
lib/composer/composer/LICENSE Voir le fichier

@@ -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

+ 2
- 0
lib/composer/composer/autoload_psr4.php Voir le fichier

@@ -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'),
);

settings/application.php → settings/Application.php Voir le fichier


Chargement…
Annuler
Enregistrer