File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 16
16
2 - unique to that session and IP address - URL no longer valid anywhere when browser session ends
17
17
*/
18
18
19
- $ config ['url_mode ' ] = 0 ;
19
+ $ config ['url_mode ' ] = 1 ;
20
20
21
21
// plugins to load - plugins will be loaded in this exact order as in array
22
22
$ config ['plugins ' ] = array (
36
36
37
37
// additional curl options to go with each request
38
38
$ config ['curl ' ] = array (
39
- //CURLOPT_INTERFACE => '123.123.123.13',
39
+ // CURLOPT_INTERFACE => '123.123.123.13',
40
40
// CURLOPT_CONNECTTIMEOUT => 5
41
41
);
42
42
Original file line number Diff line number Diff line change 115
115
// request sent to index.php
116
116
$ request = Request::createFromGlobals ();
117
117
118
+ // remove all GET parameters such as ?q=
119
+ $ request ->get ->clear ();
120
+
118
121
// forward it to some other URL
119
122
$ response = $ proxy ->forward ($ request , $ url );
120
123
You can’t perform that action at this time.
0 commit comments