feat: Add initial index.php file and remove prod.log
- Created a new index.php file with the necessary PrestaShop license and configuration. - Removed the empty prod.log file from the logs directory.
This commit is contained in:
@@ -29,7 +29,7 @@ if ( !defined('_PS_MODE_DEV_') )
|
||||
{
|
||||
$address = $_SERVER['REMOTE_ADDR'];
|
||||
$addresses_debug = [
|
||||
'51.77.52.107', '3.74.135.112', '3.74.1.39', '3.68.36.131', '18.194.204.155', '3.126.190.98', '3.66.117.228', '3.66.179.55', '18.157.125.26', '3.126.202.245', '3.74.7.74', '13.49.121.244', '13.49.185.62', '13.51.143.164', '3.68.91.166', '18.198.29.236', "83.24.32.249", "91.189.216.43", '91.189.216.43'
|
||||
'83.24.94.72'
|
||||
];
|
||||
|
||||
if ( in_array( $address, $addresses_debug ) )
|
||||
@@ -49,7 +49,7 @@ if (_PS_MODE_DEV_ === true) {
|
||||
define('_PS_DEBUG_SQL_', true);
|
||||
} else {
|
||||
@ini_set('display_errors', 'off');
|
||||
$_SERVER['REMOTE_ADDR'] == '83.24.167.27' ? define('_PS_DEBUG_SQL_', true) : define('_PS_DEBUG_SQL_', false);
|
||||
$_SERVER['REMOTE_ADDR'] == '83.24.94.72' ? define('_PS_DEBUG_SQL_', true) : define('_PS_DEBUG_SQL_', false);
|
||||
}
|
||||
|
||||
if (!defined('_PS_DEBUG_PROFILING_')) {
|
||||
|
||||
Reference in New Issue
Block a user