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:
2025-08-19 01:00:18 +02:00
parent 92b14f1a20
commit 2515025eaf
32 changed files with 1394 additions and 7464 deletions

View File

@@ -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_')) {