<?php

    require_once(__DIR__ . "/helper/net.php");

    $root = get_protocol() . $_SERVER["HTTP_HOST"] . "/";

    $base_dir = $_SERVER["DOCUMENT_ROOT"] . "/";

    $path = [
        "img" => [
            "root" => $root . "img/",
            "icon" => $root . "img/icon/",
            "logo" => $root . "img/logo/",
            "currency" => $root . "img/currency/",
            "unit" => $root . "img/unit/",
            "area" => $root . "img/area/",
            "skill" => $root . "img/skill/",
            "essence" => $root . "img/essence/",
            "rune" => $root . "img/rune/",
            "grind" => $root . "img/grind/",
            "element" => $root . "img/element/",
            "skill_guild" => $root . "img/skill_guild/",
            "decoration" => $root . "img/decoration/",
            "source" => $root . "img/source/",
            "skill_leader" => $root . "img/skill_leader/",
            "inventory" => $root . "img/inventory/",
            "effect" => $root . "img/effect/",
            "building" => $root . "img/building/",
        ],
        "fonts" => $root . "fonts/",
        "css" => $root . "css/",
        "js" => $root . "script/",
        "application" => "$base_dir../application/",
        "controller" => "$base_dir../application/Controller.php",
        "entity" => "$base_dir../application/entity/",
        "page" => "$base_dir../application/page/",
        "action" => "$base_dir../application/action/",
        "frame" => "$base_dir../application/page/frame/",
        "handler" => "$base_dir../application/handler/",
        "view" => "$base_dir../application/view/",
        "helper" => "$base_dir../application/helper/",
        "db" => "$base_dir../application/sw.sqlite",
    ];

?>

