summaryrefslogtreecommitdiffstats
path: root/cphalcon-nominifier.patch
blob: 33e0a67ca148c89bc6ce601bc291e09805d968c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Backported from 4.x



From b96c58b525123f1c4ec7d3e832ae08270a46b248 Mon Sep 17 00:00:00 2001
From: Nikolaos Dimopoulos <nikos@niden.net>
Date: Mon, 11 Feb 2019 13:01:30 -0500
Subject: [PATCH] [#13819] - Removing css/js optimizers from the config

---
 config.json | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config.json b/config.json
index f4db4ac594..518e022959 100644
--- a/config.json
+++ b/config.json
@@ -31,8 +31,6 @@
         "phalcon/mvc/model/query/parser.c",
         "phalcon/mvc/view/engine/volt/parser.c",
         "phalcon/mvc/view/engine/volt/scanner.c",
-        "phalcon/assets/filters/jsminifier.c",
-        "phalcon/assets/filters/cssminifier.c",
         "phalcon/mvc/url/utils.c"
     ],
     "globals": {
From 13a603c0af0f880c34a8ad62061610e90f019a9d Mon Sep 17 00:00:00 2001
From: Nikolaos Dimopoulos <nikos@niden.net>
Date: Mon, 11 Feb 2019 12:47:37 -0500
Subject: [PATCH] [#13819] - Removed minifiers

---
 phalcon/assets/filters/cssmin.zep | 2 +-
 phalcon/assets/filters/jsmin.zep  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/phalcon/assets/filters/cssmin.zep b/phalcon/assets/filters/cssmin.zep
index 7ce0b05343..751cc1f4e8 100644
--- a/phalcon/assets/filters/cssmin.zep
+++ b/phalcon/assets/filters/cssmin.zep
@@ -36,6 +36,6 @@ class Cssmin implements FilterInterface
 	 */
 	public function filter(string! content) -> string
 	{
-		return phalcon_cssmin(content);
+		return content;
 	}
 }
diff --git a/phalcon/assets/filters/jsmin.zep b/phalcon/assets/filters/jsmin.zep
index 7559c0503d..bc1c5bd9b4 100644
--- a/phalcon/assets/filters/jsmin.zep
+++ b/phalcon/assets/filters/jsmin.zep
@@ -36,6 +36,6 @@ class Jsmin implements FilterInterface
 	 */
 	public function filter(string! content) -> string
 	{
-		return phalcon_jsmin(content);
+		return content;
 	}
 }