From f0bc711e0f8e6f9d99eaec6352346584a68e39e7 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Mon, 2 Mar 2015 19:01:14 +1100 Subject: [PATCH] Insurance policy so #978 never occurs again --- bootstrap/autoload.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bootstrap/autoload.php b/bootstrap/autoload.php index 339efedc4..7b20e7446 100644 --- a/bootstrap/autoload.php +++ b/bootstrap/autoload.php @@ -2,6 +2,19 @@ define('LARAVEL_START', microtime(true)); +/* +|-------------------------------------------------------------------------- +| Register Core Helpers +|-------------------------------------------------------------------------- +| +| We cannot rely on Composer's load order when calculating the weight of +| each package. This line ensures that the core global helpers are +| always given priority one status. +| +*/ + +require __DIR__.'/../vendor/october/rain/src/Support/helpers.php'; + /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader