From f0f018a1862eb5b9abcbe487a98f756ba5ce59ee Mon Sep 17 00:00:00 2001 From: Marco Germani Date: Wed, 9 Oct 2019 16:15:38 +0200 Subject: [PATCH] Fixed js and css path for production env Fixed js and css path for production env --- src/Lightbox2Asset.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lightbox2Asset.php b/src/Lightbox2Asset.php index 3b83b5a..42f1ea6 100644 --- a/src/Lightbox2Asset.php +++ b/src/Lightbox2Asset.php @@ -32,8 +32,8 @@ public function init() { parent::init(); - $this->js[] = YII_DEBUG ? 'js/lightbox.js' : 'lightbox.min.js'; - $this->css[] = YII_DEBUG ? 'css/lightbox.css' : 'lightbox.min.css'; + $this->js[] = 'js/lightbox.js'; + $this->css[] = 'css/lightbox.css'; } }