feat(localization): add Locale class for number and price formatting
- Introduced a new Locale class to handle localization features such as number and price formatting. - Implemented methods for formatting numbers and prices according to locale rules. - Added error handling for missing price specifications and null values in price formatting. - Enhanced the constructor to initialize locale code, number specifications, and price specifications. fix(logs): address configuration entry not found and client authentication errors - Resolved issues related to missing configuration entries for shop UUID. - Handled errors related to invalid client authentication during token refresh attempts.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
/* Debug only */
|
||||
if (!defined('_PS_MODE_DEV_')) {
|
||||
if ( $_SERVER['REMOTE_ADDR'] == '91.189.216.43' )
|
||||
if ( $_SERVER['REMOTE_ADDR'] == '79.191.192.174' )
|
||||
define('_PS_MODE_DEV_', false);
|
||||
else
|
||||
define('_PS_MODE_DEV_', false );
|
||||
|
||||
Reference in New Issue
Block a user