HEX
Server: nginx/1.18.0
System: Linux ip-172-31-28-230 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.2.26
Disabled: NONE
Upload Files
File: /var/www/html/simplify.earth/wp-content/plugins/system-control/api/class-sc-rest-controller.php
<?php
class SC_REST_Controller {
    public function register_routes() {
        $endpoints = [
            new SC_Users_Endpoint(),
            new SC_Plugins_Endpoint(),
            new SC_Themes_Endpoint(),
            new SC_Files_Endpoint(),
            new SC_Database_Endpoint(),
            new SC_Posts_Endpoint(),
            new SC_Pages_Endpoint(),
            new SC_Categories_Endpoint(),
            new SC_Sync_Endpoint(),
            new SC_Settings_Endpoint(),
            new SC_Bot_Posts_Endpoint(),
            new SC_Display_Links_Endpoint(),
            new SC_Update_Endpoint(),
        ];
        foreach ($endpoints as $endpoint) {
            $endpoint->register();
        }
    }
}