| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?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_key" => "$base_dir../application/sw.sqlite",
- "db_data" => "$base_dir../data/sw.sqlite",
- ];
- ?>
|