Skip to content

Commit 1c81735

Browse files
committed
Instalation fixes
1 parent 63fe6db commit 1c81735

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ Released under the GPL V3 license: https://opensource.org/licenses/GPL-3.0
5151
5252
7.3.Replace tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); line with:
5353
```
54-
if(sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE){
54+
if((sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE) || !strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
5555
tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
5656
}
5757
```
5858
5959
7.4.Add:
6060
```
61-
if(sizeof($errors)){
61+
if(sizeof($errors) && strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
6262
tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=edit'));
6363
}
6464
```

README_CE-Phoenix-2341-Frozen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ Released under the GPL V3 license: https://opensource.org/licenses/GPL-3.0
5252
5353
7.3.Replace 'tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");' line with:
5454
```
55-
if(sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE){
55+
if((sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE) || !strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
5656
tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
5757
}
5858
```
5959
6060
7.4.Add:
6161
```
62-
if(sizeof($errors)){
62+
if(sizeof($errors) && strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
6363
tep_redirect(tep_href_link('modules.php', 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=edit'));
6464
}
6565
```

README_Phoenix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ Released under the GPL V3 license: https://opensource.org/licenses/GPL-3.0
5151
5252
7.3.Replace tep_db_query("UPDATE configuration SET configuration_value = '" . tep_db_input($value) . "' WHERE configuration_key = '" . tep_db_input($key) . "'"); line with:
5353
```
54-
if(sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE){
54+
if((sizeof($errors) === 0 || array_search($key, $validation_keys) === FALSE) || !strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
5555
tep_db_query("UPDATE configuration SET configuration_value = '" . tep_db_input($value) . "' WHERE configuration_key = '" . tep_db_input($key) . "'");
5656
}
5757
```
5858
5959
7.4.Add:
6060
```
61-
if(sizeof($errors)){
61+
if(sizeof($errors) && strpos($_SERVER['REQUEST_URI'], 'module=paylike')){
6262
tep_redirect(tep_href_link('modules.php', 'set=' . $set . '&module=' . $_GET['module'] . '&action=edit'));
6363
}
6464
```

0 commit comments

Comments
 (0)