Commit graph

75 commits

Author SHA1 Message Date
Sergei Solovev 498015fbfa Fixed captcha verification 2024-01-09 15:07:07 +03:00
Sergei Solovev 822ee2f90f Fixed password change via admin panel 2024-01-09 14:56:37 +03:00
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 c68552a0fb Added a graph library 2023-12-19 21:38:10 +03:00
Sergei Solovev 33f3660fcc Pre-added RUST
The necessary files and directories have been created
2023-12-10 17:47:19 +03:00
Sergei Solovev 6029013667 Minor fixes 2023-12-10 17:07:28 +03:00
Sergei Solovev e2d62c2b41 Fixed Rcon 2023-12-10 15:29:08 +03:00
Sergei Solovev 3405e159ab The old SourceQuery library has been removed 2023-12-10 00:18:04 +03:00
Sergei Solovev cf70b5dd43 Updated SourceQuery for control 2023-12-10 00:17:11 +03:00
Sergei Solovev 6b693734d4 Minor fixes CS2 2023-12-09 23:58:26 +03:00
Sergei Solovev 6cc6c09121 Fix CS2 2023-12-09 20:11:52 +03:00
Sergei Solovev 3bcd47a1a7 Fix notice 2023-12-08 00:34:40 +03:00
Sergei Solovev 24ccb37caf Update rcon library
The xPaw library has been updated and added via composer
2023-12-07 22:08:55 +03:00
Sergei Solovev 880494ad85 Minor update
Fixed a situation where the amount might not be displayed when ordering the server
2023-12-03 22:33:51 +03:00
Sergei Solovev 669866b59c Minor Update CS2 2023-12-03 21:12:41 +03:00
Sergei Solovev 07324f4d38 Fixed game server load statistics 2023-12-03 21:12:12 +03:00
Sergei Solovev 0052a6fbd4 Fixed server load statistics 2023-12-03 21:11:17 +03:00
Sergei Solovev 9c3d2363dc Fix ssh connect 2023-12-03 20:10:40 +03:00
Sergei Solovev a8235b9df9 Fixed broken debug 2023-12-03 19:35:46 +03:00
Sergei Solovev d11ee384bd fix crontab 2023-12-03 18:49:23 +03:00
Sergei Solovev eaf8a97bed Fixed graphs 2023-12-03 18:28:06 +03:00
Sergei Solovev a43402dee8 Minor fixes 2023-12-03 18:08:16 +03:00
Sergei Solovev 9fd9971249 fix load indicators 2023-12-03 17:54:47 +03:00
Sergei Solovev c07a049eff Update install and start CS2 2023-12-03 16:33:41 +03:00
Sergei Solovev 64d9b0eb28 Pre-added CS:2
The necessary files and directories have been created
2023-12-03 00:03:12 +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 cc042e28e6 Removed dependencies, after removing the mobile version 2023-09-03 18:10:44 +03:00
Sergei Solovev ad7df7e0fa Fixed a bug when a location was added without a port
[2023-09-03 17:13:20] EngineGP.ERROR: Whoops\Exception\ErrorException: Undefined array key 1 in file /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php on line 20
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:20
  2. Whoops\Run->handleError() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:20
  3. ssh->connect() /var/www/enginegp/data/www/develop.enginegp.com/system/library/ssh.php:12
  4. ssh->auth() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/sections/units/add.php:37
  5. include() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/engine/units.php:32
  6. include() /var/www/enginegp/data/www/develop.enginegp.com/system/acp/distributor.php:63
  7. include() /var/www/enginegp/data/www/develop.enginegp.com/acp/index.php:50
 [] []
2023-09-03 17:17:32 +03:00
Sergei Solovev a45b4fab62 Changing file routing
Removed unnecessary ROOT constant
The DIR constant has been changed
All dependencies have been edited
2023-09-03 15:08:57 +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
Sergei Solovev 293fc5dd7d Fixed a bug when ordering game servers
When ordering a game server, the order was not processed and the server was not created.
2023-05-04 16:33:49 +03:00
Sergei Solovev 0ed9b45c3a Fixed numerous bugs in cron tasks 2023-04-29 15:21:31 +03:00
Sergei Solovev 8f0adeae40 Fixed: Array and string offset access syntax with curly braces is no longer supported
Array and string offset access syntax with curly braces is no longer supported in file /var/enginegp/system/library/control/control.php on line 440
2023-04-28 23:57:16 +03:00
Sergei Solovev 2c3dfa71a3 Added cron task execution logs 2023-04-28 23:21:32 +03:00
Roman Kelesidis 01387e70f8 Fixed path to log dir 2023-04-13 21:08:12 +07:00
Roman Kelesidis 3e6fff8ed1 Added logMessage method 2023-04-13 20:36:34 +07:00
Sergei Solovev 8d108c3e08 explode(): Passing null to parameter #2 ($string) of type string is deprecated
Stacktrace:
#5 Whoops\Exception\ErrorException in /var/enginegp/system/library/games/games.php:454
2023-04-06 22:33:35 +03:00
Sergei Solovev 55b34825cd TypeError thrown with message "Unsupported operand types: float - string"
Stacktrace:
#4 TypeError in /var/enginegp/system/library/games/games.php:366
2023-04-06 22:06:36 +03:00
Sergei Solovev 506de6e63a Fixed password change via admin panel
Fixed an error when changing the password through the admin panel, it was impossible to log in
2023-03-15 23:53:24 +03:00
Sergei Solovev 7762e3a0a2 Deprecated: iconv_strlen(): Passing null to parameter #1 ($string) of type string is deprecated in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\system.php on line 690 2023-03-13 01:28:28 +03:00
Sergei Solovev e4e03e21af PHP Deprecated: Automatic conversion of false to array is deprecated in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\system.php on line 60 2023-03-13 01:00:08 +03:00
Sergei Solovev 66c7618230
Merge pull request #25 from EngineGPDev/PHP-Deprecated-Implicit-conversion-from-float-5919.266666666666-to-int-loses-precision-in-C-MyPrograms-OSPanel-domains-enginegp.local-system-library-acpsystem.php-on-line-469
PHP Deprecated:  Implicit conversion from float 5919.266666666666 to …
2023-03-13 00:24:03 +03:00
Sergei Solovev 49418d7054
Merge pull request #24 from EngineGPDev/PHP-Deprecated-Implicit-conversion-from-float-98.65444444444444-to-int-loses-precision-in-C-MyPrograms-OSPanel-domains-enginegp.local-system-library-acpsystem.php-on-line-465
PHP Deprecated:  Implicit conversion from float 98.65444444444444 to …
2023-03-13 00:23:46 +03:00
Sergei Solovev f3db36e981 PHP Deprecated: Implicit conversion from float 5919.266666666666 to int loses precision in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\acpsystem.php on line 469 2023-03-13 00:23:01 +03:00
Sergei Solovev 627c54acc1 PHP Deprecated: Implicit conversion from float 98.65444444444444 to int loses precision in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\acpsystem.php on line 465
PHP Deprecated:  Implicit conversion from float 98.65444444444444 to int loses precision in C:\MyPrograms\OSPanel\domains\enginegp.local\system\library\acpsystem.php on line 465
2023-03-13 00:20:15 +03:00
Sergei Solovev e42f62a41c Fix array 2023-03-13 00:16:35 +03:00
Sergei Solovev 25302dc594 Update system.php 2023-03-12 20:46:38 +03:00