From 910fa4f64c0dc6d680478bf75651055a9940dce0 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 8 Apr 2020 16:53:06 +0300 Subject: [PATCH] feat(refactor): rename $flextype_autoload and $flextype_loader --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index f7205c82..80612abf 100755 --- a/index.php +++ b/index.php @@ -52,7 +52,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s /** * Ensure vendor libraries exist */ -! is_file($autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: composer install for flextype'); +! is_file($flextype_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: composer install for flextype'); /** * Register The Auto Loader @@ -63,7 +63,7 @@ version_compare($ver = PHP_VERSION, $req = FLEXTYPE_MINIMUM_PHP, '<') and exit(s * loading any of our classes later on. It feels nice to relax. * Register The Auto Loader */ -$loader = require_once $autoload; +$flextype_loader = require_once $flextype_autoload; /** * Bootstraps the Flextype