mirror of
https://github.com/flextype/flextype.git
synced 2025-08-05 12:47:45 +02:00
feat(refactor): rename $flextype_autoload and $flextype_loader
This commit is contained in:
@@ -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: <i>composer install</i> for flextype');
|
||||
! is_file($flextype_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> 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
|
||||
|
Reference in New Issue
Block a user