Skip to content

Commit 3cbbe1c

Browse files
committed
remove autoload.
1 parent a0aa365 commit 3cbbe1c

File tree

7 files changed

+1
-15
lines changed

7 files changed

+1
-15
lines changed

authorize.php

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
* @link authorize Authorized operation helper functions @endlink
2121
*/
2222

23-
include __DIR__ . '/vendor/autoload.php';
24-
2523
/**
2624
* Defines the root directory of the Drupal installation.
2725
*/

cron.php

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
66
*/
77

8-
include __DIR__ . '/vendor/autoload.php';
9-
108
/**
119
* Root directory of Drupal installation.
1210
*/

index.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111
* See COPYRIGHT.txt and LICENSE.txt.
1212
*/
1313

14-
include __DIR__ . '/vendor/autoload.php';
15-
1614
/**
1715
* Root directory of Drupal installation.
1816
*/
1917
define('DRUPAL_ROOT', getcwd());
2018

2119
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
22-
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL, TRUE, new \Drupal\Core\Bootstrap());
20+
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
2321
menu_execute_active_handler();

install.php

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* Initiates a browser-based installation of Drupal.
66
*/
77

8-
include __DIR__ . '/vendor/autoload.php';
9-
108
/**
119
* Defines the root directory of the Drupal installation.
1210
*/

scripts/run-tests.sh

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* This script runs Drupal tests from command line.
55
*/
66

7-
include __DIR__ . '/../vendor/autoload.php';
8-
97
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green.
108
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red.
119
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown.

update.php

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
include __DIR__ . '/vendor/autoload.php';
4-
53
/**
64
* Defines the root directory of the Drupal installation.
75
*/

xmlrpc.php

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* PHP page for handling incoming XML-RPC requests from clients.
66
*/
77

8-
include __DIR__ . '/vendor/autoload.php';
9-
108
/**
119
* Root directory of Drupal installation.
1210
*/

0 commit comments

Comments
 (0)