Commit graph

10 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 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 4be487f883 Conversion to PSR code format. Part #1 2023-05-05 04:17:19 +03:00
Sergey 1027fafef9 Minor fixes
PHP message: PHP Deprecated:  Creation of dynamic property html::$select_template is deprecated in /var/enginegp/system/library/html.php on line 78;
PHP message: PHP Deprecated:  Creation of dynamic property html::$arr is deprecated in /var/enginegp/system/library/html.php on line 126" while reading response header from upstream, client: 178.205.103.15, server: enginegp.chmd.online, request: "GET /help/section/notice/go HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "enginegp.chmd.online", referrer: "http://enginegp.chmd.online/user/section/auth"

Co-Authored-By: Roman Kelesidis <roman25052006.kelesh@gmail.com>
2023-03-06 21:52:44 +03:00
Sergey 32a9bc0305 Minor fixes 2023-03-05 16:59:34 +03:00
Roman Kelesidis bdff242d1a Fixed deprecated in html.php line 140
Deprecated: Required parameter $name follows optional parameter $arr in C:\OSPanel\domains\localhost\system\library\html.php on line 140
2023-03-05 12:35:36 +07:00
Roman Kelesidis a44e1986f4 Fixed: Deprecated in html.php line 133 2023-03-05 12:05:09 +07:00
Sergey 8063f16b0d add files 2023-03-05 02:45:46 +03:00