<?php
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
    // Set some useful constants that the core may require or use
    define("IN_MYBB", 1);
    define('THIS_SCRIPT', 'docs.php');

    // Including global.php gives us access to a bunch of MyBB functions and variables
    require_once "./global.php";

    switch ($_GET['topic']) {
        case "linuxsoftware":
            include "./inc/static/php/linuxSoftware.php";
            break;
        case "linux-rpm":
            include "./inc/static/php/linux-rpm.php";
            break;
        case "EyelinkToolbox":
            include "./inc/static/php/etb.php";
            break;
    }
    
    return;
} else {

    return;
}
