From a7dbb5b297261fa4959a13149c735406581d596a Mon Sep 17 00:00:00 2001
From: Adam Piontek <adam@73k.us>
Date: Wed, 4 Aug 2021 11:15:05 -0400
Subject: [PATCH] restore autoloader as constant requirement

---
 functions.php | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/functions.php b/functions.php
index da68097..fb451a1 100644
--- a/functions.php
+++ b/functions.php
@@ -17,12 +17,5 @@ require_once( WP_RDNYC_DIR . '/custom-functions.php' );
 /**
  * Autoloader for browersync
  */
-if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
-  require_once( WP_RDNYC_DIR . '/vendor/autoload.php' );
-  \A7\autoload( __DIR__ . '/src' );
-} else {
-  require_once( WP_RDNYC_DIR . '/src/classes.php' );
-  require_once( WP_RDNYC_DIR . '/src/enqueue.php' );
-  require_once( WP_RDNYC_DIR . '/src/setup.php' );
-  require_once( WP_RDNYC_DIR . '/src/sidebars.php' );
-}
+require_once( WP_RDNYC_DIR . '/vendor/autoload.php' );
+\A7\autoload( __DIR__ . '/src' );