From bde2f3de8c20344fff87cf59e190d6bbcec06bf0 Mon Sep 17 00:00:00 2001 From: Shramee Srivastav Date: Sat, 21 Apr 2018 17:32:35 +0530 Subject: [PATCH] Debugging via a request var --- storefront-pro-skins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storefront-pro-skins.php b/storefront-pro-skins.php index c36fff2..9cda43d 100755 --- a/storefront-pro-skins.php +++ b/storefront-pro-skins.php @@ -88,7 +88,7 @@ public function setup() { self::$app_url = 'https://storefront-pro-skins.firebaseapp.com/'; - if ( defined( 'SFPS_DEBUG' ) && SFPS_DEBUG ) { + if ( isset( $_REQUEST['SFPS_DEBUG'] ) || ( defined( 'SFPS_DEBUG' ) && SFPS_DEBUG ) ) { self::$app_url = 'http://localhost:4200/'; }