Phase 4: Update documentation and remaining user-facing content
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
d692485a08
commit
0ea24764e3
56 changed files with 101 additions and 101 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# Open Game Panel Development Guide
|
||||
# GameServer Panel Development Guide
|
||||
|
||||
## Understanding the Codebase
|
||||
|
||||
This guide helps developers understand and work with the Open Game Panel codebase effectively.
|
||||
This guide helps developers understand and work with the GameServer Panel codebase effectively.
|
||||
|
||||
## Component Integration
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ $encrypted_data = $enc->encrypt($command_json);
|
|||
// modules/mymodule/mymodule.php
|
||||
|
||||
// Security check
|
||||
if (!defined('OGP_LANG')) {
|
||||
if (!defined('GSP_LANG')) {
|
||||
exit('Direct access not allowed');
|
||||
}
|
||||
|
||||
|
|
@ -145,8 +145,8 @@ $encrypted_data = $enc->encrypt($command_json);
|
|||
```php
|
||||
<?php
|
||||
// lang/English/modules/mymodule.php
|
||||
define('OGP_LANG_mymodule_title', 'My Module');
|
||||
define('OGP_LANG_mymodule_description', 'Module description');
|
||||
define('GSP_LANG_mymodule_title', 'My Module');
|
||||
define('GSP_LANG_mymodule_description', 'Module description');
|
||||
?>
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue