Commit graph

8 commits

Author SHA1 Message Date
Sergei Solovev 276ec7f3eb Updating the server name reference in code
This change replaces the use of $_SERVER['SERVER_NAME'] with $_SERVER['HTTP_HOST'] throughout the codebase. The modification ensures consistency and compliance with best practices, since $_SERVER['HTTP_HOST'] is often used to extract the host header from an HTTP request. This update may improve compatibility and security, especially in scenarios where the Host header plays a key role in proper server configuration and routing. Please review and test the changes carefully to ensure smooth functionality in different environments.
2023-12-23 04:50:14 +03:00
Sergei Solovev 815b67b8fe Restoring important functionality
This change covers many files necessary for the normal functioning of the control panel. They mainly affect access to an array element.
2023-11-13 01:39:35 +03:00
Sergei Solovev b59003e559 Reformat code
This update contains code reformatting to meet PHP standards.
2023-11-12 21:12:42 +03:00
Sergei Solovev abab8bccea EngineGPv3 Publication 2023-11-11 23:56:12 +03:00
Sergei Solovev 2ff4b6a2f5 (Fixed) Array and string offset access syntax with curly braces is no longer supported
[2023-05-09 17:44:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 117
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:117
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:47:38] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 157
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:157
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:48:26] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 382
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:382
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
[2023-05-09 17:49:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/ftp.php on line 391
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/enginegp/system/library/ftp.php:391
  2. Whoops\Run->handleError() /var/enginegp/vendor/filp/whoops/src/Whoops/Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []
2023-05-09 17:53:53 +03:00
Sergei Solovev 4be487f883 Conversion to PSR code format. Part #1 2023-05-05 04:17:19 +03:00
Sergey 32a9bc0305 Minor fixes 2023-03-05 16:59:34 +03:00
Sergey 8063f16b0d add files 2023-03-05 02:45:46 +03:00