summaryrefslogtreecommitdiffstatshomepage
path: root/autoload.php
diff options
context:
space:
mode:
authorcatch <git config --global user.email catch@35733.no-reply.drupal.org>2015-03-11 08:31:22 +0000
committercatch <git config --global user.email catch@35733.no-reply.drupal.org>2015-03-11 08:31:22 +0000
commit95fe74d57108faea52df0f1f16277a4c4732cbb0 (patch)
tree902e2d59bcd9821354e44c123ce3f17b6b23d702 /autoload.php
parent78d22bc728ea25563f3ec002faa02dd903e3a50f (diff)
downloaddrupal-95fe74d57108faea52df0f1f16277a4c4732cbb0.tar.gz
drupal-95fe74d57108faea52df0f1f16277a4c4732cbb0.zip
Issue #2406681 by tstoeckler, hussainweb, alexpott, ParisLiakos, almaudoh, tadityar: Add an autoload.php in the repo root to control the autoloader of front controllers
Diffstat (limited to 'autoload.php')
-rw-r--r--autoload.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/autoload.php b/autoload.php
new file mode 100644
index 00000000000..690e09f8e9b
--- /dev/null
+++ b/autoload.php
@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * @file
+ * Includes the autoloader created by Composer.
+ *
+ * This file can be edited to change the autoloader if you are managing a
+ * project's dependencies using Composer. If Drupal code requires the
+ * autoloader, it should always be loaded using this file so that projects
+ * using Composer continue to work.
+ *
+ * @see composer.json
+ * @see index.php
+ * @see core/install.php
+ * @see core/rebuild.php
+ * @see core/modules/statistics/statistics.php
+ */
+
+return require_once __DIR__ . '/core/vendor/autoload.php';