From f6a6501ba6a975a7e00dc5f0cd6db6b1809937dd Mon Sep 17 00:00:00 2001 From: Marina Zozirova Date: Wed, 15 Jan 2025 11:00:40 +0000 Subject: [PATCH] =?utf8?q?ERP-274=20=D0=92=D0=B2=D0=B5=D1=81=D1=82=D0=B8?= =?utf8?q?=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=BE=D0=BD=D0=BD=D0=BE=D1=81?= =?utf8?q?=D1=82=D1=8C=20js=20=D0=B8=20css=20=D1=84=D0=B0=D0=B9=D0=BB?= =?utf8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/assets/CommonAsset.php | 6 ------ erp24/assets/timetable/StartAsset.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/erp24/assets/CommonAsset.php b/erp24/assets/CommonAsset.php index d0f4e0d1..0ec2b8f1 100755 --- a/erp24/assets/CommonAsset.php +++ b/erp24/assets/CommonAsset.php @@ -23,12 +23,6 @@ class CommonAsset extends AssetBundle public function init() { - foreach (['js', 'css'] as $type) { - foreach ($this->$type as &$file) { - $file = FileVersionService::versionFile($file); - } - } - $u = file_get_contents(__DIR__ . '/../inc/compress_timestamp.php'); if (preg_match('/=\s*(?P\d+);/', $u, $matches)) { array_unshift($this->css, '/min/css_' . $matches['stamp'] . '.css'); diff --git a/erp24/assets/timetable/StartAsset.php b/erp24/assets/timetable/StartAsset.php index 93c7e5fd..861937d9 100755 --- a/erp24/assets/timetable/StartAsset.php +++ b/erp24/assets/timetable/StartAsset.php @@ -22,7 +22,7 @@ class StartAsset extends AssetBundle { parent::init(); - foreach (['js', 'css'] as $type) { + foreach (['js'] as $type) { foreach ($this->$type as &$file) { $file = FileVersionService::versionFile($file); } -- 2.39.5