Commit graph

198 commits

Author SHA1 Message Date
Sergei Solovev 822ee2f90f Fixed password change via admin panel 2024-01-09 14:56:37 +03:00
Sergei Solovev 7ed0cc33a8 This update contains a correction of icons and the order of display of games 2024-01-01 14:03:43 +03:00
Sergei Solovev 5121c12fea Fixed a bug when a tariff was created and there is no location
Whoops\Exception\ErrorException thrown with message "Trying to access array offset on value of type null"

Stacktrace:
#4 Whoops\Exception\ErrorException in /var/www/enginegp/system/acp/sections/tarifs/index.php:42
#3 Whoops\Run:handleError in /var/www/enginegp/system/acp/sections/tarifs/index.php:42
#2 include in /var/www/enginegp/system/acp/engine/tarifs.php:32
#1 include in /var/www/enginegp/system/acp/distributor.php:64
#0 include in /var/www/enginegp/acp/index.php:47
2023-12-24 11:42:48 +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 083d2c4caf Fix DataBase 2023-12-20 00:16:12 +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 4518c16e5d CS2 Fixes 2023-12-10 17:22:16 +03:00
Sergei Solovev 16a351579c Fix CS2 2023-12-10 17:20:26 +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 520880fb7f Fix CS2 2023-12-09 20:25:14 +03:00
Sergei Solovev 6cc6c09121 Fix CS2 2023-12-09 20:11:52 +03:00
Sergei Solovev c3b5c142a6 Minor fixes CS2 2023-12-09 16:55:07 +03:00
Sergei Solovev 3bcd47a1a7 Fix notice 2023-12-08 00:34:40 +03:00
Sergei Solovev 9c0cd84bb5 Adding and Fix CS2 2023-12-08 00:16:48 +03:00
Sergei Solovev dde462b43e Minor fixes 2023-12-08 00:08:49 +03:00
Sergei Solovev f33a541084 Minor fixes 2023-12-07 23:32:09 +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 3d2b87a35b Update enginegp.sql 2023-12-07 03:13:16 +03:00
Sergei Solovev d4357415d4 Install xpaw/php-source-query-class 2023-12-05 07:19:35 +03:00
Sergei Solovev 3a5e6ca20b Minor update
Fixed a situation where it was impossible to edit the tariff plan
2023-12-03 22:44:13 +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 2bf2799705 Fixed broken debug 2023-12-03 19:07:31 +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 f25779d4c0 Update enginegp.sql
Adding: Supported CS:2
2023-12-03 00:12:34 +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 9d2fec3017 Recommended Update
Installed composer libraries
2023-11-12 20:48:30 +03:00
Sergei Solovev 61b7226828 Major updates
Added support:
1. Composer for packages below;
2. symfony/polyfill to work with newer versions of php
3. filp/whoops to display php errors on screen
4. monolog/monolog for logging errors to a file and browser console
2023-11-12 17:26:34 +03:00
Sergei Solovev abab8bccea EngineGPv3 Publication 2023-11-11 23:56:12 +03:00
Sergei Solovev 7ac4dc19fa
Merge pull request #73 from EngineGPDev/develop
Final changes of EngineGP v4.0.1.3
2023-09-03 18:23:15 +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 ef6bdc398e Numerous bugs of vacancies have been fixed 2023-09-03 00:36:42 +03:00
Sergei Solovev cfe80cb9a2 Fixed an error when the list of submitted applications for vacancies was not displayed 2023-09-03 00:09:02 +03:00