Zaktualizuj pliki konfiguracyjne i popraw logikę w Dispatcherze

This commit is contained in:
2025-04-02 22:07:58 +02:00
parent 87da06293a
commit dd527ba561
3 changed files with 7 additions and 7 deletions

View File

@@ -6063,21 +6063,21 @@
},
"google-merchant_id-1.xml": {
"type": "-",
"size": 69535417,
"size": 69527592,
"lmtime": 0,
"modified": true
},
"google-merchant_id-2.xml": {
"type": "-",
"size": 2937053,
"size": 2991278,
"lmtime": 0,
"modified": true
},
".htaccess": {
"type": "-",
"size": 6724,
"size": 12145,
"lmtime": 1743185107915,
"modified": false
"modified": true
},
"iadmin": {
"themes": {

View File

@@ -927,7 +927,7 @@ class DispatcherCore
}
if (!array_key_exists($key, $params)) {
throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "' . $key . '" for route "' . $route_id . '"');
// throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "' . $key . '" for route "' . $route_id . '"');
}
if (isset($this->default_routes[$route_id])) {
$query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key];

View File

@@ -26,8 +26,8 @@
/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
if ( $_SERVER['REMOTE_ADDR'] == '91.189.216.43' )
define('_PS_MODE_DEV_', false);
if ( $_SERVER['REMOTE_ADDR'] == '178.42.108.40' )
define('_PS_MODE_DEV_', false );
else
define('_PS_MODE_DEV_', false);
}